fixed minor account position bug
This commit is contained in:
parent
557bc5f972
commit
fc9bea6b6e
|
@ -775,7 +775,7 @@ class SignInActivity : BaseActivity(), OnClickListener, TextWatcher {
|
||||||
for ((k, v) in map) {
|
for ((k, v) in map) {
|
||||||
userData[k] = v
|
userData[k] = v
|
||||||
}
|
}
|
||||||
userData[ACCOUNT_USER_DATA_POSITION] = AccountUtils.getAccounts(am).size
|
userData[ACCOUNT_USER_DATA_POSITION] = AccountUtils.getAccounts(am).size.toString()
|
||||||
am.addAccountExplicitly(account, null, userData)
|
am.addAccountExplicitly(account, null, userData)
|
||||||
writeAuthToken(am, account)
|
writeAuthToken(am, account)
|
||||||
return account
|
return account
|
||||||
|
|
Loading…
Reference in New Issue