mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix home settings buttons colors
This commit is contained in:
parent
1d61dec8eb
commit
166482601d
@ -124,6 +124,8 @@ struct FavoriteItemEditor: View {
|
||||
|
||||
@State private var presentingRemoveAlert = false
|
||||
|
||||
@Default(.favorites) private var favorites
|
||||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
@ -132,13 +134,13 @@ struct FavoriteItemEditor: View {
|
||||
Spacer()
|
||||
|
||||
HStack(spacing: 10) {
|
||||
FavoriteItemEditorButton {
|
||||
FavoriteItemEditorButton(color: model.canMoveUp(item) ? .accentColor : .secondary) {
|
||||
Label("Move Up", systemImage: "arrow.up")
|
||||
} onTapGesture: {
|
||||
model.moveUp(item)
|
||||
}
|
||||
|
||||
FavoriteItemEditorButton {
|
||||
FavoriteItemEditorButton(color: model.canMoveDown(item) ? .accentColor : .secondary) {
|
||||
Label("Move Down", systemImage: "arrow.down")
|
||||
} onTapGesture: {
|
||||
model.moveDown(item)
|
||||
|
Loading…
Reference in New Issue
Block a user