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
@@ -80,10 +80,12 @@ struct UserSessionOverview: View {
}
.accessibilityIdentifier(VectorL10n.manageSessionRename)
Button {
viewModel.send(viewAction: .showLocationInfo)
} label: {
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
if BWIBuildSettings.shared.deviceManagerShowIPAddress {
Button {
viewModel.send(viewAction: .showLocationInfo)
} label: {
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
}
}
}
DestructiveButton {
@@ -93,7 +95,7 @@ struct UserSessionOverview: View {
}
.accessibilityIdentifier(VectorL10n.signOut)
} label: {
Image(systemName: "ellipsis")
Image(systemName: "ellipsis.circle")
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
.padding(.horizontal, 4)
.padding(.vertical, 12)