mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Changes viewModel to @StateObject
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user