Message queuing : remove LocalEventSendState.Canceled

This commit is contained in:
ganfra 2024-06-05 17:02:04 +02:00
parent 53a1cb5a3c
commit 4d8810a55a
2 changed files with 0 additions and 2 deletions

View file

@ -91,7 +91,6 @@ fun TimelineItemReadReceiptView(
)
}
}
LocalEventSendState.Canceled -> Unit
is LocalEventSendState.SendingFailed -> {
// Error? The timestamp is already displayed in red
}

View file

@ -22,7 +22,6 @@ import io.element.android.libraries.matrix.api.core.EventId
@Immutable
sealed interface LocalEventSendState {
data object NotSentYet : LocalEventSendState
data object Canceled : LocalEventSendState
data class SendingFailed(
val error: String