upgrade kotlin to 1.5.0 (#2162)

* upgrade kotlin to 1.5.0

* don't explicitly set kotlin jvmtarget
This commit is contained in:
Konrad Pozniak 2021-05-21 17:51:35 +02:00 committed by GitHub
commit 751109ac39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 10 deletions

View file

@ -65,7 +65,7 @@ class AccountManager @Inject constructor(db: AppDatabase) {
val maxAccountId = accounts.maxByOrNull { it.id }?.id ?: 0
val newAccountId = maxAccountId + 1
activeAccount = AccountEntity(id = newAccountId, domain = domain.toLowerCase(Locale.ROOT), accessToken = accessToken, isActive = true)
activeAccount = AccountEntity(id = newAccountId, domain = domain.lowercase(Locale.ROOT), accessToken = accessToken, isActive = true)
}