mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 18:44:31 +00:00
fix form alignment when buying with crypto
This commit is contained in:
parent
b800dd12b4
commit
e26493f58e
1 changed files with 5 additions and 2 deletions
|
@ -798,7 +798,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
child: Padding(
|
||||
padding: const EdgeInsets.all(12),
|
||||
child: Row(children: [
|
||||
const SizedBox(width: 10), // maybe make isDesktop-aware?
|
||||
SizedBox(width: buyWithFiat ? 10 : 6),
|
||||
buyWithFiat
|
||||
? Text(
|
||||
format.simpleCurrencySymbol(
|
||||
|
@ -817,7 +817,10 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
)
|
||||
: getIconForTicker(selectedCrypto?.ticker ?? "BTC")
|
||||
as Widget,
|
||||
const SizedBox(width: 15), // maybe make isDesktop-aware?
|
||||
SizedBox(
|
||||
width: buyWithFiat
|
||||
? 15
|
||||
: 10), // maybe make isDesktop-aware?
|
||||
Text(
|
||||
buyWithFiat
|
||||
? selectedFiat?.ticker ?? "ERR"
|
||||
|
|
Loading…
Reference in a new issue