MESSENGER-4516 device manager anpassungen

This commit is contained in:
Arnfried Griesert
2023-04-28 06:28:47 +00:00
committed by Frank Rotermund
parent 280d19922f
commit d9f9798643
18 changed files with 54 additions and 29 deletions
@@ -141,14 +141,15 @@ 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)
}
DestructiveButton {
viewModel.send(viewAction: .logoutOtherSessions)
} label: {