Skip to content

サウナセットを削除する機能追加#15

Open
bull-012 wants to merge 3 commits intomainfrom
feature/delete_sauna_set
Open

サウナセットを削除する機能追加#15
bull-012 wants to merge 3 commits intomainfrom
feature/delete_sauna_set

Conversation

@bull-012
Copy link
Copy Markdown
Collaborator

No description provided.

@bull-012 bull-012 self-assigned this Dec 23, 2022
fun onDeleteSaunaSetClick(setIndex: Int) {
_uiState.update { currentState ->
val resultSaunaSetUiStateList = currentState.saunaSetUiStateList.toMutableList()
resultSaunaSetUiStateList.removeAt(setIndex)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removeAtって見つからない場合、throwしなかったでしたっけ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants