Reformat the whole codebase with 100 line width (#3403)

This commit is contained in:
Omar Hatem
2026-07-15 01:20:33 +03:00
committed by GitHub
parent 1241b28bec
commit 16ddc0837a
801 changed files with 17517 additions and 17091 deletions
@@ -98,8 +98,8 @@ abstract class BridgeDetailsViewModelBase with Store {
final sourceName =
evm?.getChainInfoByChainId(transfer.sourceChainId)?.name ?? '${transfer.sourceChainId}';
final destName =
evm?.getChainInfoByChainId(transfer.destinationChainId)?.name ?? '${transfer.destinationChainId}';
final destName = evm?.getChainInfoByChainId(transfer.destinationChainId)?.name ??
'${transfer.destinationChainId}';
items.add(
StandartListItem(
+8 -12
View File
@@ -142,13 +142,13 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St
@computed
String get amountDisplayFormatted {
if (selectedToken == null) return "0.00";
if (selectedToken == null) return "0.00";
return amountParsingProxy.getDisplayCryptoAmount(
amount.replaceAll(',', '.'),
selectedToken!,
);
}
return amountParsingProxy.getDisplayCryptoAmount(
amount.replaceAll(',', '.'),
selectedToken!,
);
}
DecimalAmountValidator get decimalAmountValidator => DecimalAmountValidator(
currency: selectedToken!,
@@ -176,8 +176,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St
String get quoteNativeFee {
if (quote == null) return '—';
return amountParsingProxy.asDisplayString(
Money(quote!.nativeFee, wallet.currency));
return amountParsingProxy.asDisplayString(Money(quote!.nativeFee, wallet.currency));
}
@computed
@@ -281,10 +280,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St
return;
}
setAmount(
amountParsingProxy.asDisplayString(Money(
selectedTokenBalance,
token)
),
amountParsingProxy.asDisplayString(Money(selectedTokenBalance, token)),
);
}