mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 23:17:44 +00:00
fix: use IO lifecycleScope dispatched coroutine
This commit is contained in:
@@ -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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user