normalize domains before saving them to database
This commit is contained in:
parent
240ce1d459
commit
baa8250e70
@ -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 New Issue
Block a user