@@ -2,7 +2,6 @@ package com.getcode.view.main.home
22
33import android.Manifest
44import android.app.Activity
5- import android.content.Context
65import android.content.Intent
76import androidx.compose.animation.AnimatedContent
87import androidx.compose.animation.AnimatedVisibility
@@ -68,7 +67,6 @@ import com.getcode.navigation.screens.GiveKinModal
6867import com.getcode.theme.Brand
6968import com.getcode.theme.CodeTheme
7069import com.getcode.util.AnimationUtils
71- import com.getcode.util.ChromeTabsUtils
7270import com.getcode.util.addIf
7371import com.getcode.util.flagResId
7472import com.getcode.util.formatted
@@ -401,7 +399,7 @@ private fun BillContainer(
401399 val showManagementOptions by remember(updatedState.billState) {
402400 derivedStateOf {
403401 billDismissState.targetValue == DismissValue .Default &&
404- updatedState.billState.bill != null &&
402+ updatedState.billState.valuation != null &&
405403 ! updatedState.billState.hideBillButtons
406404 }
407405 }
@@ -420,13 +418,13 @@ private fun BillContainer(
420418 bill = updatedState.billState.bill,
421419 transitionSpec = {
422420 if (updatedState.presentationStyle is PresentationStyle .Slide ) {
423- AnimationUtils .animationBillEnter
421+ AnimationUtils .animationBillEnterGive
424422 } else {
425- AnimationUtils .animationBillEnterSpring
423+ AnimationUtils .animationBillEnterGrabbed
426424 } togetherWith if (updatedState.presentationStyle is PresentationStyle .Slide ) {
427- AnimationUtils .animationBillExit
425+ AnimationUtils .animationBillExitReturned
428426 } else {
429- fadeOut()
427+ AnimationUtils .animationBillExitGrabbed
430428 }
431429 }
432430 )
0 commit comments