From 10841ab0a193a3c42c872a1187ed841f228aef1b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 2 Feb 2022 12:24:02 +0100 Subject: [PATCH] exhaustive not needed anymore --- .../im/vector/app/features/qrcode/QrCodeScannerViewModel.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/qrcode/QrCodeScannerViewModel.kt b/vector/src/main/java/im/vector/app/features/qrcode/QrCodeScannerViewModel.kt index 9a71bb37c6..ef47ea1a6e 100644 --- a/vector/src/main/java/im/vector/app/features/qrcode/QrCodeScannerViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/qrcode/QrCodeScannerViewModel.kt @@ -22,7 +22,6 @@ import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import im.vector.app.core.di.MavericksAssistedViewModelFactory import im.vector.app.core.di.hiltMavericksViewModelFactory -import im.vector.app.core.extensions.exhaustive import im.vector.app.core.platform.VectorDummyViewState import im.vector.app.core.platform.VectorViewModel import org.matrix.android.sdk.api.session.Session @@ -45,7 +44,7 @@ class QrCodeScannerViewModel @AssistedInject constructor( is QrCodeScannerAction.CodeDecoded -> QrCodeScannerEvents.CodeParsed(action.result, action.isQrCode) is QrCodeScannerAction.SwitchMode -> QrCodeScannerEvents.SwitchMode is QrCodeScannerAction.ScanFailed -> QrCodeScannerEvents.ParseFailed - }.exhaustive + } ) } }