Skip to content

Commit

Permalink
fix: long alias address (#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppupha authored Jun 6, 2024
1 parent 078b726 commit ceb7040
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/view/account_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import 'package:autonomy_flutter/service/tezos_service.dart';
import 'package:autonomy_flutter/util/account_ext.dart';
import 'package:autonomy_flutter/util/constants.dart';
import 'package:autonomy_flutter/util/eth_amount_formatter.dart';
import 'package:autonomy_flutter/util/string_ext.dart';
import 'package:autonomy_flutter/util/style.dart';
import 'package:autonomy_flutter/util/xtz_utils.dart';
import 'package:autonomy_flutter/view/crypto_view.dart';
Expand Down Expand Up @@ -83,14 +82,17 @@ Widget accountItem(BuildContext context, Account account,
child: Row(children: [
LogoCrypto(cryptoType: account.cryptoType, size: 24),
const SizedBox(width: 10),
Text(
account.name.maskIfNeeded(),
style: theme.textTheme.ppMori700Black16,
Expanded(
child: Text(
account.name,
style: theme.textTheme.ppMori700Black16,
overflow: TextOverflow.ellipsis,
),
),
const Expanded(child: SizedBox()),
]),
),
if (account.isHidden) ...[
const SizedBox(width: 10),
SvgPicture.asset(
'assets/images/hide.svg',
colorFilter: ColorFilter.mode(
Expand Down

0 comments on commit ceb7040

Please sign in to comment.