mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
More tint color changes
This commit is contained in:
+10
-4
@@ -35,9 +35,12 @@ struct UserOtherSessionsToolbar: ToolbarContent {
|
||||
private func navigationBarLeading() -> some ToolbarContent {
|
||||
ToolbarItemGroup(placement: .navigationBarLeading) {
|
||||
if isEditModeEnabled {
|
||||
Button(allItemsSelected ? VectorL10n.deselectAll : VectorL10n.selectAll, action: {
|
||||
Button {
|
||||
onToggleSelection()
|
||||
})
|
||||
} label: {
|
||||
Text(allItemsSelected ? VectorL10n.deselectAll : VectorL10n.selectAll)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,11 +58,13 @@ struct UserOtherSessionsToolbar: ToolbarContent {
|
||||
}
|
||||
|
||||
private func cancelButton() -> some View {
|
||||
Button(VectorL10n.cancel) {
|
||||
Button {
|
||||
isEditModeEnabled = false
|
||||
} label: {
|
||||
Text(VectorL10n.cancel)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
.font(theme.fonts.bodySB)
|
||||
.foregroundColor(theme.colors.accent)
|
||||
}
|
||||
|
||||
private func filterMenuButton() -> some View {
|
||||
@@ -73,6 +78,7 @@ struct UserOtherSessionsToolbar: ToolbarContent {
|
||||
.labelsHidden()
|
||||
} label: {
|
||||
Image(filter == .all ? Asset.Images.userOtherSessionsFilter.name : Asset.Images.userOtherSessionsFilterSelected.name)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
.accessibilityLabel(VectorL10n.userOtherSessionFilter)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user