mirror of
https://github.com/accelforce/Yuito
synced 2025-02-08 07:38:45 +01:00
normalize domains before saving them to database
This commit is contained in:
parent
ee812e3130
commit
e67261f80d
@ -57,7 +57,7 @@ class AccountManager(db: AppDatabase) {
|
|||||||
accountDao.insertOrReplace(it)
|
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…
x
Reference in New Issue
Block a user