Last active
September 10, 2022 18:52
-
-
Save zsoltk/abb6f3878852f179dbe9659a73e1202e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed class State { | |
// Prepared but not displayed yet | |
data class Queued(val queueNumber: Int) : State() | |
// Visible below top card | |
object Bottom : State() | |
// The main card | |
object Top : State() | |
// Final state after the user actually votes on a card | |
object VoteLike : State() | |
// Final state after the user actually votes on a card | |
object VotePass : State() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment