mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
exhaustive not needed anymore
This commit is contained in:
parent
f56991f077
commit
10841ab0a1
@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user