From b32724021a720640161634f35f4dd64c78651ffe Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 5 Mar 2019 23:56:47 +0100 Subject: [PATCH] Fix const error --- lib/appstate.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/appstate.dart b/lib/appstate.dart index eace656c..c8da5550 100644 --- a/lib/appstate.dart +++ b/lib/appstate.dart @@ -18,10 +18,9 @@ class AppState { String gitBaseDirectory = ""; bool isLoadingFromDisk; - List notes; + List notes = []; AppState({ this.isLoadingFromDisk = false, - this.notes = const [], }); }