mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Changes viewModel to @StateObject
This commit is contained in:
parent
6cb4c46e4b
commit
12a0d13971
@ -56,7 +56,7 @@ struct SettingsView: View {
|
||||
let sortedAccounts = AccountManager.shared.sortedAccounts
|
||||
@Environment(\.presentationMode) var presentationMode
|
||||
|
||||
@ObservedObject private var viewModel = SettingsViewModel()
|
||||
@StateObject private var viewModel = SettingsViewModel()
|
||||
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
|
Loading…
x
Reference in New Issue
Block a user