Skip to content

Commit

Permalink
Mixed up hard and soft MAC in menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
halo committed Jan 30, 2024
1 parent ac73a44 commit 5c42b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LinkLiar/Views/Menu/InterfaceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct InterfaceView: View {
Button(action: {
copy(interface.softMAC?.address ?? "??:??:??:??:??:??")
}, label: {
Text(interface.hardMAC.anonymous(state.config.general.isAnonymized))
Text(interface.softMAC?.anonymous(state.config.general.isAnonymized) ?? "??:??:??:??:??:??")
.font(.system(.body, design: .monospaced, weight: .light))
}).buttonStyle(.plain)
}
Expand Down

0 comments on commit 5c42b18

Please sign in to comment.