Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import android.app.Activity
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.navigationBarsPadding
Expand Down Expand Up @@ -205,13 +207,22 @@ fun HomeRoute(
}

if (draftAlarmEnableToast) {
ClodyToastMessage(
message = "이어쓰기 알림 설정을 완료했어요.",
iconResId = R.drawable.ic_toast_check_on_18,
backgroundColor = ClodyTheme.colors.gray04,
contentColor = ClodyTheme.colors.white,
durationMillis = 3000,
onDismiss = { homeViewModel.resetDraftAlarmEnableToast() },
Box(
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.BottomCenter,
content = {
ClodyToastMessage(
message = "이어쓰기 알림 설정을 완료했어요.",
iconResId = R.drawable.ic_toast_check_on_18,
backgroundColor = ClodyTheme.colors.gray04,
contentColor = ClodyTheme.colors.white,
durationMillis = 3000,
onDismiss = { homeViewModel.resetDraftAlarmEnableToast() },
modifier = Modifier
.navigationBarsPadding()
.padding(40.dp),
)
},
)
}

Expand Down