diff --git a/lib/main.dart b/lib/main.dart index 63abded5..f56d68d7 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -106,9 +106,10 @@ class FlwtchState extends State with WindowListener { // Cwtch.start can take time, we don't want it blocking first splash screen draw, so postpone a smidge to let splash render Future.delayed(const Duration(milliseconds: 100), () { print("initState delayed: invoking cwtch.Start()"); - cwtch.Start(); - cwtch.getCwtchDir().then((dir) { - globalSettings.themeloader.LoadThemes(dir); + cwtch.Start().then( (v) { + cwtch.getCwtchDir().then((dir) { + globalSettings.themeloader.LoadThemes(dir); + }); }); }); print("initState: starting connectivityListener");