You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bff27dc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/flipcash/features/scanner/src/main/kotlin/com/flipcash/app/scanner/internal/bills/decor/TipCardDecorator.kt
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -57,11 +57,12 @@ internal data class TipCardDecorator(private val tipCard: Scannable.TipCard) : S
57
57
// the UI, so we route directly rather than plumbing a callback through the session.
58
58
LaunchedEffect(tipPresented, selection.canTip) {
59
59
if (tipPresented &&!selection.canTip) {
60
-
session?.presentDepositOptions { route ->
61
-
navigator.openAsSheet(route)
60
+
session?.presentDepositOptions(
62
61
// No giveable balance to tip with → steer to add-money / discover, and dismiss the
63
62
// tip card so we don't leave it stranded behind the prompt.
Copy file name to clipboardExpand all lines: apps/flipcash/features/scanner/src/main/kotlin/com/flipcash/app/scanner/internal/ui/modals/TipUserModal.kt
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,7 @@ internal fun TipUserModal(
81
81
token = selection.token,
82
82
modifier =Modifier.fillMaxWidth(),
83
83
onSelectToken = {
84
-
val threshold = selection.amount?.value ?: selection.presets.firstOrNull()
Copy file name to clipboardExpand all lines: apps/flipcash/shared/session/src/main/kotlin/com/flipcash/app/session/internal/delegates/DepositDelegate.kt
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -53,21 +53,25 @@ class DepositDelegate @Inject constructor(
0 commit comments