fixed minor account position bug

This commit is contained in:
Mariotaku Lee 2016-12-09 21:43:27 +08:00
parent 557bc5f972
commit fc9bea6b6e
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ class SignInActivity : BaseActivity(), OnClickListener, TextWatcher {
for ((k, v) in map) {
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)
writeAuthToken(am, account)
return account