File tree Expand file tree Collapse file tree
apps/flipcash/shared/session/src/main/kotlin/com/flipcash/app/session/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ class RealSessionController @Inject constructor(
392392 is ShareConfirmationResult .Confirmed -> {
393393 when (result) {
394394 ShareResult .CopiedToClipboard -> {
395- toastController.enqueue(amount)
395+ toastController.enqueue(amount, isDeposit = false )
396396 dismissBill(Grabbed )
397397 vibrator.vibrate()
398398 bringActivityFeedCurrent()
@@ -407,7 +407,7 @@ class RealSessionController @Inject constructor(
407407 }
408408
409409 is ShareResult .SharedToApp -> {
410- toastController.enqueue(amount)
410+ toastController.enqueue(amount, isDeposit = false )
411411 dismissBill(Grabbed )
412412 vibrator.vibrate()
413413 bringActivityFeedCurrent()
@@ -528,7 +528,7 @@ class RealSessionController @Inject constructor(
528528 entropy = entropy,
529529 owner = owner,
530530 onReceived = {
531- toastController.enqueue(it)
531+ toastController.enqueue(it, isDeposit = true )
532532 showBill(
533533 bill = Bill .Cash (amount = it, didReceive = true ),
534534 vibrate = true
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class ToastController @Inject constructor(
3737
3838 fun enqueue (
3939 amount : LocalFiat ,
40- isDeposit : Boolean = false ,
40+ isDeposit : Boolean ,
4141 initialDelay : Duration = INITIAL_DELAY
4242 ) {
4343 if (amount.converted.doubleValue == 0.0 ) {
You can’t perform that action at this time.
0 commit comments