kopia lustrzana https://github.com/vitorpamplona/amethyst
Moves the loading of an Accounts backup contacts to the IO Thread
rodzic
2c82e6c447
commit
5cdceb5194
|
@ -1549,7 +1549,9 @@ class Account(
|
|||
println("Loading saved contacts ${it.toJson()}")
|
||||
|
||||
if (userProfile().latestContactList == null) {
|
||||
LocalCache.consume(it)
|
||||
GlobalScope.launch(Dispatchers.IO) {
|
||||
LocalCache.consume(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue