mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Remove duplicated code.
This commit is contained in:
-3
@@ -19,9 +19,6 @@ fun Throwable.mapRecoveryException(): RecoveryException {
|
|||||||
is RustRecoveryException.SecretStorage -> RecoveryException.SecretStorage(
|
is RustRecoveryException.SecretStorage -> RecoveryException.SecretStorage(
|
||||||
message = errorMessage
|
message = errorMessage
|
||||||
)
|
)
|
||||||
is RustRecoveryException.Import -> RecoveryException.Import(
|
|
||||||
message = errorMessage
|
|
||||||
)
|
|
||||||
is RustRecoveryException.BackupExistsOnServer -> RecoveryException.BackupExistsOnServer
|
is RustRecoveryException.BackupExistsOnServer -> RecoveryException.BackupExistsOnServer
|
||||||
is RustRecoveryException.Import -> RecoveryException.Import(
|
is RustRecoveryException.Import -> RecoveryException.Import(
|
||||||
message = errorMessage
|
message = errorMessage
|
||||||
|
|||||||
Reference in New Issue
Block a user