mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Cleanup merge leftovers
This commit is contained in:
@@ -144,11 +144,15 @@ struct UserSessionsOverview: View {
|
||||
|
||||
private var otherSessionsMenu: some View {
|
||||
Menu {
|
||||
Button { viewModel.showLocationInfo.toggle() } label: {
|
||||
Button {
|
||||
viewModel.showLocationInfo.toggle()
|
||||
} label: {
|
||||
let text = viewModel.showLocationInfo ? VectorL10n.userSessionsHideLocationInfo : VectorL10n.userSessionsShowLocationInfo
|
||||
let image = viewModel.showLocationInfo ? "eye.slash" : "eye"
|
||||
Label(text, systemImage: image)
|
||||
}
|
||||
|
||||
signOutButton
|
||||
} label: {
|
||||
menuImage
|
||||
}
|
||||
@@ -186,7 +190,7 @@ struct UserSessionsOverview: View {
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
.padding(.bottom, 8.0)
|
||||
Spacer()
|
||||
optionsMenu
|
||||
otherSessionsMenu
|
||||
}
|
||||
|
||||
Text(VectorL10n.userSessionsOverviewOtherSessionsSectionInfo)
|
||||
|
||||
Reference in New Issue
Block a user