mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 02:54:30 +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(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(12),
|
padding: const EdgeInsets.all(12),
|
||||||
child: Row(children: [
|
child: Row(children: [
|
||||||
const SizedBox(width: 10), // maybe make isDesktop-aware?
|
SizedBox(width: buyWithFiat ? 10 : 6),
|
||||||
buyWithFiat
|
buyWithFiat
|
||||||
? Text(
|
? Text(
|
||||||
format.simpleCurrencySymbol(
|
format.simpleCurrencySymbol(
|
||||||
|
@ -817,7 +817,10 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
)
|
)
|
||||||
: getIconForTicker(selectedCrypto?.ticker ?? "BTC")
|
: getIconForTicker(selectedCrypto?.ticker ?? "BTC")
|
||||||
as Widget,
|
as Widget,
|
||||||
const SizedBox(width: 15), // maybe make isDesktop-aware?
|
SizedBox(
|
||||||
|
width: buyWithFiat
|
||||||
|
? 15
|
||||||
|
: 10), // maybe make isDesktop-aware?
|
||||||
Text(
|
Text(
|
||||||
buyWithFiat
|
buyWithFiat
|
||||||
? selectedFiat?.ticker ?? "ERR"
|
? selectedFiat?.ticker ?? "ERR"
|
||||||
|
|
Loading…
Reference in a new issue