mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Cleanup code
This commit is contained in:
@@ -147,9 +147,7 @@ struct UserSessionsOverview: View {
|
||||
Button {
|
||||
viewModel.showLocationInfo.toggle()
|
||||
} label: {
|
||||
let text = viewModel.showLocationInfo ? VectorL10n.userSessionsHideLocationInfo : VectorL10n.userSessionsShowLocationInfo
|
||||
let image = viewModel.showLocationInfo ? "eye.slash" : "eye"
|
||||
Label(text, systemImage: image)
|
||||
Label(showLocationInfo: viewModel.showLocationInfo)
|
||||
}
|
||||
|
||||
signOutButton
|
||||
|
||||
Reference in New Issue
Block a user