mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Navigation toolbar colours
This commit is contained in:
parent
7bd19658f4
commit
470cd5ddf2
1 changed files with 10 additions and 8 deletions
|
|
@ -282,19 +282,20 @@ struct AnimatingCellHeight: AnimatableModifier {
|
|||
label: {
|
||||
Image
|
||||
.selectMultiple
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
).foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
).buttonStyle(.plain)
|
||||
}
|
||||
if enableGrid {
|
||||
Button(
|
||||
action: { prefersListLayout.toggle() },
|
||||
label: {
|
||||
Image(systemName: prefersListLayout ? "square.grid.2x2" : "list.bullet")
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
)
|
||||
).buttonStyle(.plain)
|
||||
}
|
||||
|
||||
Button(
|
||||
action: {
|
||||
if viewModel.folder == "inbox" {
|
||||
|
|
@ -305,9 +306,10 @@ struct AnimatingCellHeight: AnimatableModifier {
|
|||
},
|
||||
label: {
|
||||
Image.addLink
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
).tint(Color.appGrayText)
|
||||
).buttonStyle(.plain)
|
||||
|
||||
Button(
|
||||
action: {
|
||||
searchPresented = true
|
||||
|
|
@ -316,9 +318,9 @@ struct AnimatingCellHeight: AnimatableModifier {
|
|||
label: {
|
||||
Image
|
||||
.magnifyingGlass
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
)
|
||||
).buttonStyle(.plain)
|
||||
}
|
||||
|
||||
ToolbarItemGroup(placement: .bottomBar) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue