mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Cleanup code
This commit is contained in:
+1
-3
@@ -91,9 +91,7 @@ struct UserOtherSessionsToolbar: ToolbarContent {
|
||||
Button {
|
||||
isShowLocationEnabled.toggle()
|
||||
} label: {
|
||||
let text = isShowLocationEnabled ? VectorL10n.userSessionsHideLocationInfo : VectorL10n.userSessionsShowLocationInfo
|
||||
let image = isShowLocationEnabled ? "eye.slash" : "eye"
|
||||
Label(text, systemImage: image)
|
||||
Label(showLocationInfo: isShowLocationEnabled)
|
||||
}
|
||||
|
||||
if sessionCount > 0 {
|
||||
|
||||
Reference in New Issue
Block a user