mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Fix const error
This commit is contained in:
@ -18,10 +18,9 @@ class AppState {
|
|||||||
String gitBaseDirectory = "";
|
String gitBaseDirectory = "";
|
||||||
|
|
||||||
bool isLoadingFromDisk;
|
bool isLoadingFromDisk;
|
||||||
List<Note> notes;
|
List<Note> notes = [];
|
||||||
|
|
||||||
AppState({
|
AppState({
|
||||||
this.isLoadingFromDisk = false,
|
this.isLoadingFromDisk = false,
|
||||||
this.notes = const [],
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user