From ca398fca3ce42b5d3f7fadaf0eb9f25d6a4bdc2f Mon Sep 17 00:00:00 2001 From: Bo Lopker Date: Thu, 4 Apr 2024 08:57:46 -0700 Subject: [PATCH] Fix config creation --- lib/config.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.dart b/lib/config.dart index 331b129..aac85b2 100644 --- a/lib/config.dart +++ b/lib/config.dart @@ -69,7 +69,7 @@ class Config { configDir.createSync(recursive: true); } if (!configFile.existsSync() || configFile.lengthSync() == 0) { - writeConfig(signal.value); + configFile.writeAsStringSync(jsonEncode(signal.value.toJson())); } }