From 392e51eb3ecb3ac70e2cdb2735c6cd24dd6b018b Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 15 Aug 2020 17:31:24 -0400 Subject: [PATCH] Remove unnecessary prefernces change notification --- Tusker/Screens/Preferences/PreferencesView.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tusker/Screens/Preferences/PreferencesView.swift b/Tusker/Screens/Preferences/PreferencesView.swift index d74e52c3..e9b53f0b 100644 --- a/Tusker/Screens/Preferences/PreferencesView.swift +++ b/Tusker/Screens/Preferences/PreferencesView.swift @@ -77,10 +77,6 @@ struct PreferencesView: View { } .listStyle(GroupedListStyle()) .navigationBarTitle(Text("Preferences"), displayMode: .inline) - .onDisappear { - // todo: this onDisappear callback is not called in beta 4, check again in beta 5 - NotificationCenter.default.post(name: .preferencesChanged, object: nil) - } // } }