Skip to content

Commit

Permalink
[Fix] 내역 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinuemong committed Feb 23, 2024
1 parent 4924e86 commit e11c143
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import androidx.compose.material.Text
import androidx.compose.material.rememberSwipeableState
import androidx.compose.material.swipeable
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.derivedStateOf
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
Expand Down Expand Up @@ -145,8 +146,11 @@ fun HistoryDetailScreen(
val currentGrowthType = HistoryDetailGrowthType.getGrowthType(
model.relationDetail.takeMoney + model.relationDetail.giveMoney
)
when(swipeState.progress.to){
HistoryViewSwipingType.EXPANDED -> appState.setStatusBarColor(Gray000)
HistoryViewSwipingType.COLLAPSED -> appState.setStatusBarColor(Color(currentGrowthType.backgroundColor))
}

appState.setStatusBarColor(Color(currentGrowthType.backgroundColor))
val pages = listOf("전체", "받은 마음", "보낸 마음")
val pagerState = rememberPagerState(
pageCount = { 3 }
Expand Down

0 comments on commit e11c143

Please sign in to comment.