iOS crypto target

This commit is contained in:
Ivan Murashov
2018-03-11 01:40:57 +03:00
parent cae46b60f9
commit c229ea8c9e
41 changed files with 811 additions and 192 deletions

View File

@@ -19,7 +19,7 @@ main() {
helper.open().then((_) {
helper.getLocale().then((locale) {
if (locale == null) {
initWithSystemValue(app, appName, helper);
initWithSystemValue(app, appName, locale, helper);
} else {
start(app, appName, locale, helper);
}
@@ -29,9 +29,9 @@ main() {
});
}
initWithSystemValue(String app, String name, SqliteHelper helper) {
initWithSystemValue(String app, String name, String locale, SqliteHelper helper) {
helper.getSettings(false).then((settings) {
if (settings == null) {
if (settings.isEmpty) {
createSettingsTable(app, name, helper);
} else {
start(app, name, locale, helper);