fix bridge ui (#3189)

* fix bridge ui

* padding on info bottom sheet

* fix cutoff on infobottomsheet

* fix wording on bridge details ui

* no _amountController.clear() on bridge page navigation

* autofocus keyboard on bridge page opened

* remove KeyboardHideOverlay

* fix text field resize

* fix text field padding
This commit is contained in:
malik1004x
2026-04-17 23:46:58 +02:00
committed by GitHub
parent 21847cd958
commit 1cb05d5211
8 changed files with 170 additions and 174 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ import 'package:cake_wallet/store/app_store.dart';
import 'package:cake_wallet/store/bridge_transfers_store.dart';
import 'package:cake_wallet/store/dashboard/fiat_conversion_store.dart';
import 'package:cake_wallet/store/settings_store.dart';
import 'package:cw_core/crypto_amount_format.dart';
import 'package:cw_core/crypto_currency.dart';
import 'package:cw_core/erc20_token.dart';
import 'package:cw_core/wallet_base.dart';
@@ -187,7 +188,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St
String get quoteNativeFeeFormattedForDisplay {
if (quoteNativeFee.isEmpty) return '';
return '${quoteNativeFee} ${wallet.currency.title}';
return '${quoteNativeFee.withMaxDecimals(8)} ${wallet.currency.title}';
}
@computed
@@ -97,9 +97,9 @@ abstract class BridgeDetailsViewModelBase with Store {
);
final sourceName =
evm?.getChainNameByChainId(transfer.sourceChainId) ?? '${transfer.sourceChainId}';
evm?.getChainInfoByChainId(transfer.sourceChainId)?.name ?? '${transfer.sourceChainId}';
final destName =
evm?.getChainNameByChainId(transfer.destinationChainId) ?? '${transfer.destinationChainId}';
evm?.getChainInfoByChainId(transfer.destinationChainId)?.name ?? '${transfer.destinationChainId}';
items.add(
StandartListItem(