iOS crypto target
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user