mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-21 10:38:26 +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()
|
showKeyPairMigrationSheetIfNeeded()
|
||||||
showKeyPairMigrationSuccessSheetIfNeeded()
|
showKeyPairMigrationSuccessSheetIfNeeded()
|
||||||
if (TextSecurePreferences.getConfigurationMessageSynced(this)) {
|
if (TextSecurePreferences.getConfigurationMessageSynced(this)) {
|
||||||
MultiDeviceProtocol.syncConfigurationIfNeeded(this)
|
lifecycleScope.launch(Dispatchers.IO) {
|
||||||
|
MultiDeviceProtocol.syncConfigurationIfNeeded(this@HomeActivity)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user