Hide IP addresses in session manager

This commit is contained in:
Arnfried Griesert
2023-10-04 08:57:33 +02:00
parent e46d9371aa
commit 20ed25468c
@@ -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 {