Commit graph

1942 commits

Author SHA1 Message Date
sneurlax
177eb70d51 handle errors more reliably 2023-01-27 16:08:56 -06:00
sneurlax
ad5f9b3de4 pop thrice 2023-01-27 16:05:57 -06:00
sneurlax
679c382106 pass, catch, and display error dialog from newOrder 2023-01-27 15:54:37 -06:00
sneurlax
26dfaa065a don't set errorMessage as substring except for >max crypto amt errors 2023-01-27 15:32:23 -06:00
sneurlax
ec64c77c45 comment update 2023-01-27 15:23:14 -06:00
sneurlax
ff5d5784a1 use min amounts as default text 2023-01-27 15:15:14 -06:00
sneurlax
7c0bfce3c2 clear field to minimum value 2023-01-27 15:11:29 -06:00
sneurlax
54d8e90c96 deprettify error messages 2023-01-27 15:10:59 -06:00
sneurlax
957a6d63ae use internal variable 2023-01-27 14:38:24 -06:00
sneurlax
d5c3712067 trim excess digits 2023-01-27 14:38:10 -06:00
sneurlax
4ddd4a292e do not display buy icon for non-Simplex currencies 2023-01-27 14:08:34 -06:00
sneurlax
0fddad94e6 pass coin as arg 2023-01-27 14:00:51 -06:00
sneurlax
9f40e11385 don't set BTC as default bounded crypto 2023-01-27 13:54:41 -06:00
sneurlax
6b6ef179cc add coin as arg to BuyInWalletView->BuyView->BuyForm 2023-01-27 13:47:41 -06:00
sneurlax
79e1bbf13b nest BuyView in Scaffold etc for in-wallet buy view
Thanks Julian!
2023-01-27 12:53:03 -06:00
sneurlax
59a12fe277 BROKEN, nav from wallet view to buy view 2023-01-27 12:01:27 -06:00
sneurlax
957b9cb6a3 fix buy image in wallet view on mobile 2023-01-27 11:47:42 -06:00
sneurlax
58ea92fd5a update colors behind fiat tickers 2023-01-27 11:43:41 -06:00
sneurlax
5ad3d4a64b linting
automated
2023-01-27 11:12:25 -06:00
sneurlax
f2835eff1d init field with minimum by default 2023-01-27 11:12:18 -06:00
sneurlax
052135a32f pass TextEditingValue with selection parameter 2023-01-27 11:12:05 -06:00
sneurlax
2a6b46f761 Merge remote-tracking branch 'cypherstack/staging' into simplex 2023-01-26 17:35:30 -06:00
sneurlax
25a5b42f0e remove print from prod 2023-01-26 17:35:04 -06:00
sneurlax
eed39d7826 remove non-stack coin images 2023-01-26 17:35:04 -06:00
sneurlax
3296454e01 add non-stack coin images and reference download script
I already did the work, might as well commit it in case we want to support non-Stack coins.  We'll make commission from sales even if we don't support them
2023-01-26 17:35:04 -06:00
sneurlax
6c48caff48 only add stack coins to list
TODO refactor isStackCoin into a reusable form instead of copying it around 3 times :P
2023-01-26 17:35:04 -06:00
sneurlax
9a3e9f345d set amount text to max if >max 2023-01-26 17:35:04 -06:00
sneurlax
e68385a6ae reset crypto min and max when new crypto selected 2023-01-26 17:35:04 -06:00
sneurlax
f64a2518ad use static min and max amounts from BuyFormState class 2023-01-26 17:35:04 -06:00
sneurlax
d7eb25aa9c update min and max 2023-01-26 15:03:54 -06:00
Josh Babb
8c75b1c62e Merge branch 'simplex' of https://github.com/cypherstack/stack_wallet into simplex 2023-01-26 14:21:14 -06:00
sneurlax
832c495227 catch requesting quote for >max crypto amt 2023-01-26 14:20:45 -06:00
Diego Salazar
caa096e4e8
Update pubspec.yaml 2023-01-26 10:47:39 -07:00
Diego Salazar
2cf7596a6e
Merge pull request #322 from cypherstack/simplex
Simplex: validate min and max fiat amounts, handle quote error with dialog
2023-01-26 10:47:07 -07:00
Diego Salazar
be5736d5e1
Merge branch 'staging' into simplex 2023-01-26 10:07:56 -07:00
sneurlax
e05b0658d1 only validate fiat amounts
TODO make sure exchange rate doesn't push fiat value over max
2023-01-26 10:58:00 -06:00
sneurlax
f25392379e validate min and max amounts 2023-01-26 10:46:53 -06:00
sneurlax
fa96f5ed14 put currently selected fiat's minAmount and maxAmount in buy_form var 2023-01-26 10:32:47 -06:00
sneurlax
e688ec2176 update quote validity check 2023-01-26 10:20:59 -06:00
sneurlax
45bfab1d5e error handle quote not loaded 2023-01-26 09:56:48 -06:00
Diego Salazar
4deef90a90
Update pubspec.yaml 2023-01-25 18:22:47 -07:00
Diego Salazar
97898d8769
Merge pull request #320 from cypherstack/simplex
Correct Simplex API URL and cleanup
2023-01-25 18:22:22 -07:00
Diego Salazar
a977cfbe78
Merge branch 'staging' into simplex 2023-01-25 17:09:09 -07:00
sneurlax
85582de70b Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-25 16:50:51 -06:00
sneurlax
ed0a0266f6 linting 2023-01-25 16:43:26 -06:00
sneurlax
deb845db3b linting 2023-01-25 16:43:21 -06:00
sneurlax
5f2b0de2d1 dart linting 2023-01-25 16:43:13 -06:00
sneurlax
e8f52082da remove unnecessary property 2023-01-25 16:43:07 -06:00
sneurlax
86c89152f5 add updateOrder stub
can't access ref without more work, moving on
2023-01-25 16:43:00 -06:00
sneurlax
64da385d29 add order to simplex model 2023-01-25 16:42:39 -06:00