Skip to content

Commit 8bfb7aa

Browse files
committed
[CHORE/#396] DisposableEffect 통합
1 parent fa9dde3 commit 8bfb7aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • feature/mypage/src/main/java/com/terning/feature/mypage/mypage

feature/mypage/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,9 @@ fun MyPageRoute(
110110
viewModel.updateAlarmAvailability(isGranted)
111111
}
112112

113-
LaunchedEffect(Unit) {
113+
DisposableEffect(lifecycleOwner) {
114114
systemUiController.setStatusBarColor(color = Back)
115-
}
116115

117-
DisposableEffect(lifecycleOwner) {
118116
onDispose {
119117
systemUiController.setStatusBarColor(color = White)
120118
}

0 commit comments

Comments
 (0)