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

This commit is contained in:
Oleksandr Sobol
2020-04-25 19:17:59 +03:00
parent df64e7b5e1
commit 4b34ca3111
5 changed files with 12 additions and 7 deletions
@@ -98,7 +98,7 @@ class TradeHistoryPanelState extends State<TradeHistoryPanel> {
} }
if (item is TransactionListItem) { if (item is TransactionListItem) {
freeSpaceHeight -= 58; freeSpaceHeight -= 62;
final transaction = item.transaction; final transaction = item.transaction;
final savedDisplayMode = settingsStore.balanceDisplayMode; final savedDisplayMode = settingsStore.balanceDisplayMode;
final formattedAmount = final formattedAmount =
@@ -123,7 +123,7 @@ class TradeHistoryPanelState extends State<TradeHistoryPanel> {
} }
if (item is TradeListItem) { if (item is TradeListItem) {
freeSpaceHeight -= 58; freeSpaceHeight -= 62;
final trade = item.trade; final trade = item.trade;
final savedDisplayMode = settingsStore.balanceDisplayMode; final savedDisplayMode = settingsStore.balanceDisplayMode;
final formattedAmount = trade.amount != null final formattedAmount = trade.amount != null
@@ -26,7 +26,7 @@ class TradeRow extends StatelessWidget {
return InkWell( return InkWell(
onTap: onTap, onTap: onTap,
child: Container( child: Container(
height: 56, height: 60,
decoration: BoxDecoration( decoration: BoxDecoration(
color: PaletteDark.historyPanel, color: PaletteDark.historyPanel,
border: Border.all( border: Border.all(
@@ -24,7 +24,7 @@ class TransactionRow extends StatelessWidget {
return InkWell( return InkWell(
onTap: onTap, onTap: onTap,
child: Container( child: Container(
height: 56, height: 60,
decoration: BoxDecoration( decoration: BoxDecoration(
color: PaletteDark.historyPanel, color: PaletteDark.historyPanel,
border: Border.all( border: Border.all(
@@ -334,7 +334,7 @@ class WalletCardState extends State<WalletCard> {
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: Container( child: Container(
height: 84, height: 90,
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@@ -379,8 +379,8 @@ class WalletCardState extends State<WalletCard> {
), ),
SizedBox(width: 10), SizedBox(width: 10),
Container( Container(
width: 84, width: 90,
height: 84, height: 90,
child: QrImage( child: QrImage(
data: walletStore.subaddress.address, data: walletStore.subaddress.address,
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
+5
View File
@@ -75,6 +75,11 @@ class BaseAlertDialog extends StatelessWidget {
), ),
) )
), ),
Container(
height: 52,
width: 1,
color: Colors.grey.withOpacity(0.2),
),
Flexible( Flexible(
child: Container( child: Container(
padding: EdgeInsets.only(left: 12, right: 12), padding: EdgeInsets.only(left: 12, right: 12),