use of com.faltenreich.diaguard.shared.data.database.importing.Import in project Diaguard by Faltenreich.
the class DiaguardApplication method init.
private void init() {
context = getApplicationContext();
JodaTimeAndroid.init(this);
PreferenceStore.getInstance().init(this);
Database.getInstance().init(this);
new Import(this).importDataIfNeeded();
PreferenceStore.getInstance().migrate();
Migrator.getInstance().start();
NotificationUtils.setupNotifications(this);
Theme theme = PreferenceStore.getInstance().getTheme();
ThemeUtils.setDefaultNightMode(theme);
ThemeUtils.setUiMode(this, theme);
ImageLoader.getInstance().init(this);
}