mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 20:48:27 +00:00
fix: use IO lifecycleScope dispatched coroutine
This commit is contained in:
parent
c1d3a25f26
commit
71d2085cc8
@ -176,7 +176,9 @@ class HomeActivity : PassphraseRequiredActionBarActivity(),
|
||||
showKeyPairMigrationSheetIfNeeded()
|
||||
showKeyPairMigrationSuccessSheetIfNeeded()
|
||||
if (TextSecurePreferences.getConfigurationMessageSynced(this)) {
|
||||
MultiDeviceProtocol.syncConfigurationIfNeeded(this)
|
||||
lifecycleScope.launch(Dispatchers.IO) {
|
||||
MultiDeviceProtocol.syncConfigurationIfNeeded(this@HomeActivity)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user