mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 16:03:06 +00:00
Control on the password or on the salt and token
This commit is contained in:
@@ -100,7 +100,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
initBottomSheet();
|
initBottomSheet();
|
||||||
initNavigation();
|
initNavigation();
|
||||||
|
|
||||||
if (PreferenceUtil.getInstance(this).getToken() != null && PreferenceUtil.getInstance(this).getSalt() != null) {
|
if (PreferenceUtil.getInstance(this).getPassword() != null || (PreferenceUtil.getInstance(this).getToken() != null && PreferenceUtil.getInstance(this).getSalt() != null)) {
|
||||||
goFromLogin();
|
goFromLogin();
|
||||||
} else {
|
} else {
|
||||||
goToLogin();
|
goToLogin();
|
||||||
|
|||||||
Reference in New Issue
Block a user