mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData
This commit is contained in:
+2
@@ -91,6 +91,8 @@ sealed interface AsyncData<out T> {
|
||||
fun isSuccess(): Boolean = this is Success<T>
|
||||
|
||||
fun isUninitialized(): Boolean = this == Uninitialized
|
||||
|
||||
fun isReady() = isSuccess() || isFailure()
|
||||
}
|
||||
|
||||
suspend inline fun <T> MutableState<AsyncData<T>>.runCatchingUpdatingState(
|
||||
|
||||
Reference in New Issue
Block a user