mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-17 09:29:28 +01:00
fix: Load settings on startup
This commit is contained in:
parent
03b00b7d26
commit
6906832bc7
@ -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