Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ppupha and github-actions[bot] authored Jan 7, 2025
1 parent 97c706a commit 173e68e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/screen/bloc/accounts/accounts_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class AccountsBloc extends AuBloc<AccountsEvent, AccountsState> {
try {
final balance = await getAddressBalance(address);
addressBalances[address] = balance;
emit(
emit(
state.copyWith(
addressBalances: Map.from(
addressBalances
Expand Down
5 changes: 3 additions & 2 deletions lib/screen/settings/connection/accounts_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ class _AccountsViewState extends State<AccountsView> {
}
final address = walletAddresses[index];
return KeepAliveWidget(
key: ValueKey(address.key),
child: _addressCard(context, address),);
key: ValueKey(address.key),
child: _addressCard(context, address),
);
},
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ class _LinkedWalletDetailPageState extends State<LinkedWalletDetailPage>
final balanceInUSD =
exchangeRate != null && cryptoBalance != null
? exchangeRate.toUsd(
amount: cryptoBalance, cryptoType: cryptoType,)
amount: cryptoBalance,
cryptoType: cryptoType,
)
: '';
return _balanceSection(
context,
Expand Down
3 changes: 2 additions & 1 deletion lib/util/gesture_constrain_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import 'package:flutter/material.dart';

class GestureConstrainWidget extends StatelessWidget {
const GestureConstrainWidget({
required this.child, super.key,
required this.child,
super.key,
});

final Widget child;
Expand Down
3 changes: 1 addition & 2 deletions lib/util/int_ext.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import 'package:autonomy_flutter/util/xtz_utils.dart';
import 'package:web3dart/web3dart.dart';

extension BigIntExtension on BigInt {
String get toXTZStringValue =>
'${XtzAmountFormatter().format(toInt())} XTZ';
String get toXTZStringValue => '${XtzAmountFormatter().format(toInt())} XTZ';

String get toEthStringValue =>
EtherAmount.fromBigInt(EtherUnit.wei, this).toEthStringValue;
Expand Down

0 comments on commit 173e68e

Please sign in to comment.