Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/src/main/java/to/bitkit/ui/components/BottomSheet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ fun BottomSheet(
contentColor: Color = contentColorFor(containerColor),
tonalElevation: Dp = 0.dp,
scrimColor: Color = BottomSheetDefaults.ScrimColor,
showToastOverlay: Boolean = true,
dragHandle: @Composable (() -> Unit)? = {
Box(
contentAlignment = Alignment.Center,
Expand Down Expand Up @@ -92,7 +93,7 @@ fun BottomSheet(
) {
content()
}
if (app != null) {
if (showToastOverlay && app != null) {
SheetToastHost(
app = app,
hazeState = toastHazeState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ fun BoostTransactionSheet(

val uiState by viewModel.uiState.collectAsStateWithLifecycle()

BottomSheet(onDismissRequest = onDismiss) {
BottomSheet(
onDismissRequest = onDismiss,
scrimColor = Color.Transparent,
showToastOverlay = false,
) {
BoostTransactionContent(
uiState = uiState,
onClickEdit = viewModel::onClickEdit,
Expand Down
1 change: 1 addition & 0 deletions changelog.d/next/1273.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed boost fee warning toasts appearing twice and dimmed behind the boost sheet.