Remove onboarding screen

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.
This commit is contained in:
Vishesh Handa
2019-01-21 13:43:33 +01:00
parent c915e58273
commit 519de8fcff
12 changed files with 239 additions and 76 deletions

View File

@ -147,3 +147,16 @@ Future gitCommit({
print("gitCommit Failed: '${e.message}'.");
}
}
Future gitInit(String folderName) async {
print("Going to git init");
try {
await _platform.invokeMethod('gitInit', {
'folderName': folderName,
});
print("Done");
} on PlatformException catch (e) {
print("gitInit Failed: '${e.message}'.");
throw createGitException(e.message);
}
}