mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Indentation fix
This commit is contained in:
parent
68165c7ea6
commit
a4741974f1
1 changed files with 12 additions and 12 deletions
|
|
@ -135,19 +135,19 @@ public class CommonsApplication extends MultiDexApplication {
|
||||||
}
|
}
|
||||||
|
|
||||||
sessionManager.clearAllAccounts()
|
sessionManager.clearAllAccounts()
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(() -> {
|
.subscribe(() -> {
|
||||||
Timber.d("All accounts have been removed");
|
Timber.d("All accounts have been removed");
|
||||||
//TODO: fix preference manager
|
//TODO: fix preference manager
|
||||||
defaultPrefs.edit().clear().apply();
|
defaultPrefs.edit().clear().apply();
|
||||||
applicationPrefs.edit().clear().apply();
|
applicationPrefs.edit().clear().apply();
|
||||||
applicationPrefs.edit().putBoolean("firstrun", false).apply();
|
applicationPrefs.edit().putBoolean("firstrun", false).apply();
|
||||||
otherPrefs.edit().clear().apply();
|
otherPrefs.edit().clear().apply();
|
||||||
updateAllDatabases();
|
updateAllDatabases();
|
||||||
|
|
||||||
logoutListener.onLogoutComplete();
|
logoutListener.onLogoutComplete();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue