mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 20:16:37 +02:00
Moves the loading of an Accounts backup contacts to the IO Thread
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user