Merge pull request #890 from Bubu/fix_restoring_unimportant_event_setting

fix: properly initialize hideUnimportantStateEvents setting
This commit is contained in:
Krille-chan 2024-02-16 07:24:55 +01:00 committed by GitHub
commit e69f610c26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -424,6 +424,10 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
store.getBool(SettingKeys.hideUnknownEvents) ??
AppConfig.hideUnknownEvents;
AppConfig.hideUnimportantStateEvents =
store.getBool(SettingKeys.hideUnimportantStateEvents) ??
AppConfig.hideUnimportantStateEvents;
AppConfig.separateChatTypes =
store.getBool(SettingKeys.separateChatTypes) ??
AppConfig.separateChatTypes;