fix: use IO lifecycleScope dispatched coroutine

pull/468/head
jubb 3 years ago
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…
Cancel
Save