Skip to content

Commit

Permalink
Use ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Sep 11, 2024
1 parent 22964aa commit 05e3e27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sealed interface FavoritesSheetUiState {
val startTimeString: String,
val endTimeString: String,
) {
val key: String get() = "${day?.name}$startTimeString-$endTimeString"
val key: String get() = "${day?.ordinal}-$startTimeString-$endTimeString"
}
}

Expand Down

0 comments on commit 05e3e27

Please sign in to comment.