Fix lint issues

This commit is contained in:
Jorge Martín 2023-08-17 15:31:14 +02:00 committed by yostyle
parent a210945bb1
commit 4b0f9213d3
6 changed files with 15 additions and 11 deletions

View file

@ -214,7 +214,10 @@ class RustMatrixRoom(
}.map {
_roomNotificationSettingsStateFlow.value = MatrixRoomNotificationSettingsState.Ready(it)
}.onFailure {
_roomNotificationSettingsStateFlow.value = MatrixRoomNotificationSettingsState.Error(prevRoomNotificationSettings = currentRoomNotificationSettings, failure = it)
_roomNotificationSettingsStateFlow.value = MatrixRoomNotificationSettingsState.Error(
prevRoomNotificationSettings = currentRoomNotificationSettings,
failure = it
)
}
}