diff --git a/samples/dungeon/app/src/main/java/com/squareup/sample/dungeon/DungeonAppWorkflow.kt b/samples/dungeon/app/src/main/java/com/squareup/sample/dungeon/DungeonAppWorkflow.kt index 6306e760a..ce4500087 100644 --- a/samples/dungeon/app/src/main/java/com/squareup/sample/dungeon/DungeonAppWorkflow.kt +++ b/samples/dungeon/app/src/main/java/com/squareup/sample/dungeon/DungeonAppWorkflow.kt @@ -24,7 +24,7 @@ class DungeonAppWorkflow( data class Props(val paused: Boolean = false) - sealed class State: Screen { + sealed class State : Screen { object LoadingBoardList : State() data class ChoosingBoard(val boards: List>) : State() data class PlayingGame(val boardPath: BoardPath) : State() @@ -33,7 +33,7 @@ class DungeonAppWorkflow( data class DisplayBoardsListScreen( val boards: List, val onBoardSelected: (index: Int) -> Unit - ): Screen + ) : Screen override fun initialState( props: Props,