Hide IP addresses in session manager

This commit is contained in:
Arnfried Griesert
2023-10-04 08:57:33 +02:00
parent 73cb698de4
commit 8a7b1dd430
@@ -141,12 +141,14 @@ struct UserSessionsOverview: View {
private var otherSessionsMenu: some View {
Menu {
Button {
withAnimation {
viewModel.send(viewAction: .showLocationInfo)
if BWIBuildSettings.shared.deviceManagerShowIPAddress {
Button {
withAnimation {
viewModel.send(viewAction: .showLocationInfo)
}
} label: {
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
}
} label: {
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
}
if viewModel.viewState.showDeviceLogout {