mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01: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
2c3c0dbdb2
@ -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 New Issue
Block a user