Skip to content

Commit

Permalink
Update #247: PriceWarningMessage onDismissClick
Browse files Browse the repository at this point in the history
  • Loading branch information
0se0 committed Nov 8, 2024
1 parent e4e643b commit f077c30
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.hankki.feature.storedetail.editbottomsheet.edit.mod

import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ExperimentalLayoutApi
Expand Down Expand Up @@ -111,6 +110,7 @@ fun EditModRoute(
}
)
}

else -> {}
}
}
Expand Down Expand Up @@ -225,7 +225,8 @@ fun ModifyMenuScreen(

if (uiState.isOverPriceLimit) {
PriceWarningMessage(
onDeleteClick = onShowDeleteDialog
onDeleteClick = onShowDeleteDialog,
onDismissClick = { onPriceChanged(TextFieldValue("")) }
)
}

Expand Down

0 comments on commit f077c30

Please sign in to comment.