mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
fixes enum ==, changes frames
This commit is contained in:
@@ -40,7 +40,7 @@ struct MacPreferencesView: View {
|
||||
}.foregroundColor(
|
||||
viewModel.currentPreferencePane == .general ? Color("AccentColor") : Color.gray
|
||||
)
|
||||
})
|
||||
}).frame(width: 70)
|
||||
Button(action: {
|
||||
viewModel.currentPreferencePane = .accounts
|
||||
}, label: {
|
||||
@@ -51,7 +51,7 @@ struct MacPreferencesView: View {
|
||||
}.foregroundColor(
|
||||
viewModel.currentPreferencePane == .accounts ? Color("AccentColor") : Color.gray
|
||||
)
|
||||
})
|
||||
}).frame(width: 70)
|
||||
Button(action: {
|
||||
viewModel.currentPreferencePane = .advanced
|
||||
}, label: {
|
||||
@@ -62,7 +62,7 @@ struct MacPreferencesView: View {
|
||||
}.foregroundColor(
|
||||
viewModel.currentPreferencePane == .advanced ? Color("AccentColor") : Color.gray
|
||||
)
|
||||
})
|
||||
}).frame(width: 70)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user