-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ rename recipe description making event
- Loading branch information
Showing
5 changed files
with
41 additions
and
41 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
android/app/src/main/java/net/pengcook/android/presentation/making/MakingEvent.kt
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
android/app/src/main/java/net/pengcook/android/presentation/making/RecipeMakingEvent.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package net.pengcook.android.presentation.making | ||
|
||
sealed interface RecipeMakingEvent { | ||
data class NavigateToMakingStep(val recipeId: Long) : RecipeMakingEvent | ||
|
||
data object AddImage : RecipeMakingEvent | ||
|
||
data class PresignedUrlRequestSuccessful(val presignedUrl: String) : RecipeMakingEvent | ||
|
||
data object PostImageSuccessful : RecipeMakingEvent | ||
|
||
data object PostImageFailure : RecipeMakingEvent | ||
|
||
data object DescriptionFormNotCompleted : RecipeMakingEvent | ||
|
||
data object PostRecipeFailure : RecipeMakingEvent | ||
} |
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
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
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