Hide discount widgets for crypto flavor

This commit is contained in:
Ivan Murashov
2018-03-09 20:08:28 +03:00
parent 86e3f4ba4c
commit bd1e0ec17f
12 changed files with 95 additions and 73 deletions

View File

@@ -43,8 +43,9 @@ initWithSystemValue(String app, String name, SqliteHelper helper) {
createSettingsTable(String app, String name, String locale, SqliteHelper helper) {
platform.invokeMethod('getCurrency').then((currency) {
helper.createAppInfo(currency);
start(app, name, locale, helper);
helper.createAppInfo(currency).then(() {
start(app, name, locale, helper);
});
});
}