mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-17 18:49:55 +08:00
25 lines
498 B
Dart
25 lines
498 B
Dart
import 'package:journal/note.dart';
|
|
|
|
class AppState {
|
|
// FIXME: Make these 2 final
|
|
String localGitRepoPath = "";
|
|
bool localGitRepoConfigured = false;
|
|
|
|
// FIXME: Rename from 'path' to folderName
|
|
String remoteGitRepoPath = "";
|
|
bool remoteGitRepoConfigured = false;
|
|
|
|
bool hasJournalEntries = false;
|
|
|
|
// FIXME: Make final
|
|
String gitBaseDirectory = "";
|
|
|
|
bool isLoadingFromDisk;
|
|
List<Note> notes;
|
|
|
|
AppState({
|
|
this.isLoadingFromDisk = false,
|
|
this.notes = const [],
|
|
});
|
|
}
|