Skip to content

Commit

Permalink
Longer account name length allowance
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Mar 4, 2024
1 parent c2af1b9 commit bcd8798
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/ui/accounts/accountdetails_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class AccountDetailsSheet {
keyboardType: TextInputType.text,
inputFormatters: [
LengthLimitingTextInputFormatter(
15),
30),
],
style: TextStyle(
fontWeight: FontWeight.w600,
Expand Down
12 changes: 4 additions & 8 deletions lib/ui/accounts/accounts_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,8 @@ class _AppAccountsWidgetState extends State<AppAccountsWidget> {
color: StateContainer.of(context).curTheme.text15,
),
Container(
height: (smallScreen(context) ? 70.0 : 85) +
(isExternalAccount
? smallScreen(context)
? 20
: 10.0
: 0.0),
padding: EdgeInsetsDirectional.only(end: 23, start: 10),
padding: EdgeInsetsDirectional.only(
end: 23, start: 10, top: 4, bottom: 4),
decoration: BoxDecoration(
border: Border(
left: BorderSide(
Expand Down Expand Up @@ -481,6 +476,7 @@ class _AppAccountsWidgetState extends State<AppAccountsWidget> {
address: account.address),
// Account name and address
Container(
padding: EdgeInsets.only(top: 8, bottom: 8),
width:
(MediaQuery.of(context).size.width - (108)) * 0.5,
margin: EdgeInsetsDirectional.only(
Expand All @@ -501,7 +497,7 @@ class _AppAccountsWidgetState extends State<AppAccountsWidget> {
),
minFontSize: 8.0,
stepGranularity: 0.1,
maxLines: 1,
maxLines: null,
textAlign: TextAlign.start,
),
// Account address
Expand Down

0 comments on commit bcd8798

Please sign in to comment.