mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
fix: address book tickers overflow
This commit is contained in:
parent
338e354e4b
commit
80ba2a8c5c
1 changed files with 18 additions and 16 deletions
|
@ -137,29 +137,31 @@ class _AddressBookCardState extends ConsumerState<AddressBookCard> {
|
|||
const SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
if (isDesktop && !desktopSendFrom) const Spacer(),
|
||||
if (isDesktop)
|
||||
Text(
|
||||
coinsString,
|
||||
style: STextStyles.label(context),
|
||||
),
|
||||
if (!isDesktop)
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: isDesktop && !desktopSendFrom
|
||||
? CrossAxisAlignment.end
|
||||
: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (!isDesktop)
|
||||
Text(
|
||||
contact.name,
|
||||
style: STextStyles.itemSubtitle12(context),
|
||||
),
|
||||
if (!isDesktop)
|
||||
const SizedBox(
|
||||
height: 4,
|
||||
),
|
||||
Text(
|
||||
coinsString,
|
||||
style: STextStyles.label(context),
|
||||
textAlign: isDesktop && !desktopSendFrom
|
||||
? TextAlign.right
|
||||
: TextAlign.left,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
if (isDesktop && desktopSendFrom) const Spacer(),
|
||||
if (isDesktop && desktopSendFrom)
|
||||
SvgPicture.asset(
|
||||
|
|
Loading…
Reference in a new issue