mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
Merge branch 'soru/switch-config' into 'main'
fix: Load settings on startup See merge request famedly/fluffychat!348
This commit is contained in:
commit
80565d0d25
1 changed files with 5 additions and 1 deletions
|
@ -273,7 +273,11 @@ class MatrixState extends State<Matrix> {
|
|||
void initState() {
|
||||
super.initState();
|
||||
initMatrix();
|
||||
if (PlatformInfos.isWeb) initConfig().then((_) => initSettings());
|
||||
if (PlatformInfos.isWeb) {
|
||||
initConfig().then((_) => initSettings());
|
||||
} else {
|
||||
initSettings();
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> initConfig() async {
|
||||
|
|
Loading…
Reference in a new issue