CWA-201 | added separator between action buttons in alert dialog; fixed overflow bugs for japanese, korean and chinese languages in dashboard page

Oleksandr Sobol committed Apr 25, 2020 at 19:17 UTC 4b34ca31111be080adcea10473e2ca182030620d
5 files changed +12 -7
lib/src/screens/dashboard/widgets/trade_history_panel.dart
+2 -2
@@ -98,7 +98,7 @@ class TradeHistoryPanelState extends State<TradeHistoryPanel> {
98 }
99
100 if (item is TransactionListItem) {
101 - freeSpaceHeight -= 58;
101 + freeSpaceHeight -= 62;
102 final transaction = item.transaction;
103 final savedDisplayMode = settingsStore.balanceDisplayMode;
104 final formattedAmount =
@@ -123,7 +123,7 @@ class TradeHistoryPanelState extends State<TradeHistoryPanel> {
123 }
124
125 if (item is TradeListItem) {
126 - freeSpaceHeight -= 58;
126 + freeSpaceHeight -= 62;
127 final trade = item.trade;
128 final savedDisplayMode = settingsStore.balanceDisplayMode;
129 final formattedAmount = trade.amount != null
lib/src/screens/dashboard/widgets/trade_row.dart
+1 -1
@@ -26,7 +26,7 @@ class TradeRow extends StatelessWidget {
26 return InkWell(
27 onTap: onTap,
28 child: Container(
29 - height: 56,
29 + height: 60,
30 decoration: BoxDecoration(
31 color: PaletteDark.historyPanel,
32 border: Border.all(
lib/src/screens/dashboard/widgets/transaction_raw.dart
+1 -1
@@ -24,7 +24,7 @@ class TransactionRow extends StatelessWidget {
24 return InkWell(
25 onTap: onTap,
26 child: Container(
27 - height: 56,
27 + height: 60,
28 decoration: BoxDecoration(
29 color: PaletteDark.historyPanel,
30 border: Border.all(
lib/src/screens/dashboard/widgets/wallet_card.dart
+3 -3
@@ -334,7 +334,7 @@ class WalletCardState extends State<WalletCard> {
334 children: <Widget>[
335 Expanded(
336 child: Container(
337 - height: 84,
337 + height: 90,
338 child: Column(
339 mainAxisAlignment: MainAxisAlignment.spaceBetween,
340 crossAxisAlignment: CrossAxisAlignment.start,
@@ -379,8 +379,8 @@ class WalletCardState extends State<WalletCard> {
379 ),
380 SizedBox(width: 10),
381 Container(
382 - width: 84,
383 - height: 84,
382 + width: 90,
383 + height: 90,
384 child: QrImage(
385 data: walletStore.subaddress.address,
386 backgroundColor: Colors.transparent,
lib/src/widgets/base_alert_dialog.dart
+5
@@ -75,6 +75,11 @@ class BaseAlertDialog extends StatelessWidget {
75 ),
76 )
77 ),
78 + Container(
79 + height: 52,
80 + width: 1,
81 + color: Colors.grey.withOpacity(0.2),
82 + ),
83 Flexible(
84 child: Container(
85 padding: EdgeInsets.only(left: 12, right: 12),