Skip to content

Commit

Permalink
[UI/#273] 수정 토스트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
boiledEgg-s committed Oct 2, 2024
1 parent 96e071d commit 8915769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.core.content.ContextCompat
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.compose.LocalLifecycleOwner
import androidx.lifecycle.compose.collectAsStateWithLifecycle
Expand Down Expand Up @@ -89,6 +90,7 @@ fun ScrapDialog(
is ScrapDialogSideEffect.PatchedScrap -> {
onClickChangeColor()
onDismissRequest(false)
context.toast(R.string.dialog_content_calendar_color_change_complete)
}

is ScrapDialogSideEffect.NavigateToDetail -> onClickNavigateButton(
Expand Down
2 changes: 1 addition & 1 deletion feature/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<string name="dialog_content_scrap_sub_title">공고를 캘린더에 스크랩하시겠어요?</string>
<string name="dialog_content_color_button">스크랩 색상</string>
<string name="dialog_content_calendar_color_change">색상 변경하기</string>
<string name="dialog_content_calendar_color_change_complete">색상 변경완료</string>
<string name="dialog_content_calendar_color_change_complete">스크랩 색상이 변경되었어요!</string>
<string name="dialog_scrap_button">내 캘린더에 스크랩하기</string>
<string name="dialog_content_scrap_cancel_main_title">관심 공고가 캘린더에서 사라져요!</string>
<string name="dialog_content_scrap_cancel_sub_title">스크랩을 취소하시겠어요?</string>
Expand Down

0 comments on commit 8915769

Please sign in to comment.