normalize domains before saving them to database
This commit is contained in:
parent
ee812e3130
commit
e67261f80d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class AccountManager(db: AppDatabase) {
|
|||
accountDao.insertOrReplace(it)
|
||||
}
|
||||
|
||||
activeAccount = AccountEntity(id = 0, domain = domain, accessToken = accessToken, isActive = true)
|
||||
activeAccount = AccountEntity(id = 0, domain = domain.toLowerCase(), accessToken = accessToken, isActive = true)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue