Commit 26c0dd3
committed
fix(chat): enforce tip minimum on send with an alert
Guard the send path: when the chat is a tip DM with a minimum and the
entered amount is below it, surface a "<min> Minimum" alert and abort
the send instead of proceeding. Reword the tip-minimum error strings to
match.
Pairs with the slide label simplification — the minimum is now enforced
at send time rather than implied by a dedicated "Swipe to Tip" label.1 parent fe0f6f2 commit 26c0dd3
2 files changed
Lines changed: 13 additions & 2 deletions
File tree
- apps/flipcash
- core/src/main/res/values
- features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
903 | | - | |
| 902 | + | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
668 | 679 | | |
669 | 680 | | |
670 | 681 | | |
| |||
0 commit comments