diff --git a/lib/components/matrix.dart b/lib/components/matrix.dart index 724dead3..5c5be5aa 100644 --- a/lib/components/matrix.dart +++ b/lib/components/matrix.dart @@ -273,7 +273,11 @@ class MatrixState extends State { void initState() { super.initState(); initMatrix(); - if (PlatformInfos.isWeb) initConfig().then((_) => initSettings()); + if (PlatformInfos.isWeb) { + initConfig().then((_) => initSettings()); + } else { + initSettings(); + } } Future initConfig() async {