1
0
mirror of https://codeberg.org/gitnex/GitNex synced 2025-01-10 17:42:38 +01:00

store loginUid on login

This commit is contained in:
M M Arif 2019-10-26 18:01:14 +05:00
parent 7e3eef90d2
commit 8787f8d9eb

View File

@ -469,11 +469,11 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
if (response.isSuccessful()) {
if (response.code() == 200) {
tinyDb.remove("loginPass");
tinyDb.putBoolean("loggedInMode", true);
assert userDetails != null;
tinyDb.putString(userDetails.getLogin() + "-token", loginToken_);
tinyDb.putString("loginUid", userDetails.getLogin());
enableProcessButton();
loginButton.setText(R.string.btnLogin);