Commit graph

100 commits

Author SHA1 Message Date
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
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
eed39d7826 remove non-stack coin images 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
sneurlax
832c495227 catch requesting quote for >max crypto amt 2023-01-26 14:20:45 -06: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
sneurlax
deb845db3b linting 2023-01-25 16:43:21 -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
e753a0badb fix buy details view on desktop 2023-01-24 18:15:03 -06:00
sneurlax
f529686a99 comment updates 2023-01-24 17:31:39 -06:00
sneurlax
d03417782d invoice -> details 2023-01-24 17:17:34 -06:00
sneurlax
4b145edd7f rearrange buy order invoice page and update text 2023-01-24 17:15:36 -06:00
sneurlax
f38d5590a0 add buy order invoice view for mobile
TODO fix nav for desktop
2023-01-24 17:00:53 -06:00
sneurlax
4d5bda96f0 pixel perfection 2023-01-24 14:21:47 -06:00
sneurlax
9495e7a7a7 adjust paddings and alignment to be IAW figma 2023-01-24 14:17:27 -06:00
sneurlax
8552fbac68 use container with boxdecoration instead of stroked textstyle 2023-01-24 13:48:57 -06:00
sneurlax
c0836f9c67 remove image property from Fiat and Crypto models
and don't check for them in selection views
2023-01-24 13:29:05 -06:00
sneurlax
325d341b7f do not change hover state of crypto selection list 2023-01-24 13:28:07 -06:00
sneurlax
4312f08ee5 add currency symbol to quote preview 2023-01-24 11:51:35 -06:00
sneurlax
e26493f58e fix form alignment when buying with crypto 2023-01-24 11:30:04 -06:00
sneurlax
b800dd12b4 align currency prettyName with amount input 2023-01-24 11:23:51 -06:00
sneurlax
e465030d3d add light version of simplex logo for dark themes 2023-01-24 11:12:40 -06:00
sneurlax
f3d466ab62 add You Pay With fiat currency name stub 2023-01-24 11:05:30 -06:00
sneurlax
43ec061740 purchase -> quote 2023-01-24 11:05:19 -06:00
sneurlax
fff29ba826 display long name on buy view 2023-01-24 11:01:13 -06:00
sneurlax
8a70e9def4 align desktop elements 2023-01-24 11:01:01 -06:00
sneurlax
8ba76e492e comment updates 2023-01-23 14:46:22 -06:00
sneurlax
277807309b close dialogs on redirection 2023-01-23 14:41:49 -06:00
sneurlax
232913060b reset address variable on input clear 2023-01-23 14:29:18 -06:00
sneurlax
d93f5a8063 remove prints and add comments 2023-01-23 14:24:06 -06:00
sneurlax
df6031350a add address book dialog for desktop
WIP doesn't paste yet
2023-01-23 14:20:58 -06:00
sneurlax
824b3bb9a7 pushNamed navigation route, WIP 2023-01-20 20:32:57 -06:00
sneurlax
8ddc825ea5 fix clear address button 2023-01-20 20:15:04 -06:00
sneurlax
46e1d41126 prevent quote preview if required inputs empty
it should be prevented by the enabled property but nyah
2023-01-20 20:09:53 -06:00
sneurlax
1bf55318cc use coin image if buying crypto amount
and remove print in prod
TODO refactor duplicated isStackCoin and getIconForTicker into coin_enum?
2023-01-20 20:05:32 -06:00
sneurlax
8a0c846a1b add currency symbol in amount input 2023-01-20 19:58:45 -06:00
sneurlax
9b944f51f1 outline currency symbols and use selected symbol in buy form fiat select 2023-01-20 19:34:54 -06:00
sneurlax
f110ffb25c use currency symbol from dart
and scale according to length
2023-01-20 19:17:25 -06:00