mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00

For now just create a local git repo and commit all the changes over there, we're going to allow the user to first see the app and use it however they want, and later connect it to a remote git repo. This commit breaks the app, as the on-boarding screen is no longer connected so you cannot push to a remote app.
23 lines
463 B
Dart
23 lines
463 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;
|
|
|
|
// FIXME: Make final
|
|
String gitBaseDirectory = "";
|
|
|
|
bool isLoadingFromDisk;
|
|
List<Note> notes;
|
|
|
|
AppState({
|
|
this.isLoadingFromDisk = false,
|
|
this.notes = const [],
|
|
});
|
|
}
|