From 6906832bc7bd341c300750ce86b1459de088b9c5 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Tue, 19 Jan 2021 16:58:30 +0100 Subject: [PATCH] fix: Load settings on startup --- lib/components/matrix.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {