Perform QK migration only after realm migration

This commit is contained in:
Moez Bhatti
2020-01-27 18:24:14 -05:00
parent c0b2f61961
commit 33b239d3b7
2 changed files with 4 additions and 2 deletions
@@ -28,13 +28,13 @@ import kotlinx.coroutines.launch
import javax.inject.Inject
class QkMigration @Inject constructor(
context: Context,
private val context: Context,
private val conversationRepo: ConversationRepository,
private val prefs: Preferences,
private val qksmsBlockingClient: QksmsBlockingClient
) {
init {
fun performMigration() {
GlobalScope.launch {
val oldVersion = prefs.version.get()