mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix compilation issue
This commit is contained in:
+3
-3
@@ -23,13 +23,13 @@ class SteadyStateExceptionMapper {
|
|||||||
fun map(data: RustSteadyStateException): SteadyStateException {
|
fun map(data: RustSteadyStateException): SteadyStateException {
|
||||||
return when (data) {
|
return when (data) {
|
||||||
is RustSteadyStateException.BackupDisabled -> SteadyStateException.BackupDisabled(
|
is RustSteadyStateException.BackupDisabled -> SteadyStateException.BackupDisabled(
|
||||||
message = data.message
|
message = data.message.orEmpty()
|
||||||
)
|
)
|
||||||
is RustSteadyStateException.Connection -> SteadyStateException.Connection(
|
is RustSteadyStateException.Connection -> SteadyStateException.Connection(
|
||||||
message = data.message
|
message = data.message.orEmpty()
|
||||||
)
|
)
|
||||||
is RustSteadyStateException.Lagged -> SteadyStateException.Lagged(
|
is RustSteadyStateException.Lagged -> SteadyStateException.Lagged(
|
||||||
message = data.message
|
message = data.message.orEmpty()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user