Indentation fix

This commit is contained in:
Ujjwal Agrawal 2018-07-31 12:08:51 +05:30
parent 68165c7ea6
commit a4741974f1

View file

@ -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();
}); });
} }
/** /**