FeedbackState.kt

383 B · raw

1package com.peachpasswords.feedback23/**4 * UI state for a feedback submission. Mirrors the browser extension's three5 * outcomes (no-op success, success, error) plus an in-flight state.6 */7sealed interface FeedbackState {8    object Idle : FeedbackState9    object Sending : FeedbackState10    object Sent : FeedbackState11    data class Error(val message: String) : FeedbackState12}