mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-15 18:48:52 +01:00
Perform QK migration only after realm migration
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user