This commit is contained in:
Adam Brown 2021-09-27 17:39:21 +01:00
parent 6df03fc13b
commit 19d1d981c3
3 changed files with 2 additions and 4 deletions

View File

@ -34,7 +34,6 @@ import im.vector.app.features.pin.PinCodeStore
import im.vector.app.features.pin.SharedPrefPinCodeStore
import im.vector.app.features.ui.SharedPreferencesUiStateRepository
import im.vector.app.features.ui.UiStateRepository
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob

View File

@ -19,7 +19,6 @@ package im.vector.app.features.crypto.keys
import android.content.Context
import android.net.Uri
import im.vector.app.core.dispatchers.CoroutineDispatchers
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import org.matrix.android.sdk.api.session.Session
import javax.inject.Inject
@ -49,7 +48,7 @@ class KeysExporter @Inject constructor(
output.statSize != expectedSize -> {
throw UnexpectedExportKeysFileSizeException(
expectedFileSize = output.statSize,
actualFileSize = expectedSize,
actualFileSize = expectedSize
)
}
}

View File

@ -42,7 +42,7 @@ class KeysExporterTest {
private val keysExporter = KeysExporter(
session = FakeSession(cryptoService = cryptoService),
context = context.instance,
dispatchers = CoroutineDispatchers(Dispatchers.Unconfined),
dispatchers = CoroutineDispatchers(Dispatchers.Unconfined)
)
@Before