Conversation
IMG_1321.MP42026-03-18.12.06.58.mp4 |
| } | ||
|
|
||
| Widget _buildPosButton(AppColorsV2 colors, AppTextTheme text) { | ||
| return GestureDetector( |
There was a problem hiding this comment.
Please use the standard button component, if need new variant please add there :)
| String _input = '0'; | ||
| final _fmt = NumberFormattingService(); | ||
|
|
||
| void _onDigit(String digit) { |
There was a problem hiding this comment.
Can't we use the number formatting that we use in the usual send input?
| ); | ||
| } | ||
|
|
||
| Widget _buildKeypad(AppColorsV2 colors, AppTextTheme text) { |
There was a problem hiding this comment.
Not really sure this is the best way to do this, because some locales use comma instead of dot to as decimal notation.
|
|
||
| Widget _buildChargeButton(AppColorsV2 colors, AppTextTheme text) { | ||
| final disabled = !_isValid; | ||
| return GestureDetector( |
There was a problem hiding this comment.
Please use the standard button component, add new variant if needed
dewabisma
left a comment
There was a problem hiding this comment.
I think we should keep button in control, and other concern about the keypad logic
|
I've addressed all the PR review comments by making the following changes:
|
Add POS mode in Settings
Version 1 - MVP
TBD:
POS Payment URL: https://www.quantus.com/pay?to=qzkuQhrEckiP2DQG4We6vwKptMQdm3AAtnH5tJaZeYxHQ1ofr&amount=2.8&ref=MMUDDWB2