mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 01:05:17 +00:00
fix: properly initialize hideUnimportantStateEvents setting
This setting was not applied on app restart but always initialized to the default value. The only way change this was to go into settings and change the toggle twice after an app restart.
This commit is contained in:
parent
aa68e8fe3b
commit
c6a79f7ad0
1 changed files with 4 additions and 0 deletions
|
@ -423,6 +423,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;
|
||||
|
|
Loading…
Reference in a new issue