Skip to content

Commit ed5058c

Browse files
committed
Feat: 뒤로가기 종료 토스트 메시지 추가
1 parent e6d0f95 commit ed5058c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/java/com/threegap/bitnagil/navigation/home/HomeNavHost.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import com.threegap.bitnagil.designsystem.R
2525
import com.threegap.bitnagil.designsystem.component.atom.BitnagilFloatingActionMenu
2626
import com.threegap.bitnagil.designsystem.component.atom.FloatingActionItem
2727
import com.threegap.bitnagil.designsystem.modifier.clickableWithoutRipple
28+
import com.threegap.bitnagil.presentation.common.toast.GlobalBitnagilToast
2829
import com.threegap.bitnagil.presentation.home.HomeScreenContainer
2930
import com.threegap.bitnagil.presentation.mypage.MyPageScreenContainer
3031
import com.threegap.bitnagil.presentation.recommendroutine.RecommendRoutineScreenContainer
@@ -114,8 +115,7 @@ fun HomeNavHost(
114115
onToggle = { expanded -> showFloatingOverlay = expanded },
115116
modifier = Modifier
116117
.align(Alignment.BottomEnd)
117-
.padding(16.dp)
118-
.padding(bottom = 80.dp),
118+
.padding(end = 16.dp, bottom = 80.dp),
119119
)
120120
}
121121
}
@@ -131,6 +131,7 @@ fun DoubleBackButtonPressedHandler() {
131131
(context as? Activity)?.finish()
132132
} else {
133133
backPressedTimeMillis = System.currentTimeMillis()
134+
GlobalBitnagilToast.showWarning("버튼을 한 번 더 누르면 종료됩니다.")
134135
}
135136
}
136137
}

0 commit comments

Comments
 (0)