+ importDatabase.execSQL("UPDATE ${DomainsDatabaseHelper.DOMAINS_TABLE} SET ${DomainsDatabaseHelper.ULTRALIST} = 0")
importDatabase.execSQL("UPDATE $PREFERENCES_TABLE SET $ULTRALIST = 0")
}
}
importDatabase.execSQL("UPDATE $PREFERENCES_TABLE SET $ULTRALIST = 0")
}
}
@@ -325,7+325,7 @@ class ImportExportDatabaseHelper {
}
// Add the WebView theme to the domains table. This defaults to 0, which is `System default`, so a separate step isn't needed to populate the database.
}
// Add the WebView theme to the domains table. This defaults to 0, which is `System default`, so a separate step isn't needed to populate the database.
@@ -437,7+437,7 @@ class ImportExportDatabaseHelper {
// Get a cursor for the domains table.
// Get a cursor for the domains table.
- val importDomainsCursor = importDatabase.rawQuery("SELECT * FROM " + DomainsDatabaseHelper.DOMAINS_TABLE + " ORDER BY " + DomainsDatabaseHelper.DOMAIN_NAME + " ASC", null)
+ val importDomainsCursor = importDatabase.rawQuery("SELECT * FROM ${DomainsDatabaseHelper.DOMAINS_TABLE} ORDER BY ${DomainsDatabaseHelper.DOMAIN_NAME} ASC", null)