mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
Merge branch 'master' into CWA-169-add-morph-exchange-to-the-app
This commit is contained in:
@@ -112,7 +112,7 @@ class DashboardPageBody extends StatefulWidget {
|
||||
}
|
||||
|
||||
class DashboardPageBodyState extends State<DashboardPageBody> {
|
||||
static final transactionDateFormat = DateFormat("MMM d, yyyy HH:mm");
|
||||
static final transactionDateFormat = DateFormat("MMMM d, yyyy HH:mm");
|
||||
|
||||
final _connectionStatusObserverKey = GlobalKey();
|
||||
final _balanceObserverKey = GlobalKey();
|
||||
@@ -587,7 +587,7 @@ class DashboardPageBodyState extends State<DashboardPageBody> {
|
||||
from: trade.from,
|
||||
to: trade.to,
|
||||
createdAtFormattedDate:
|
||||
DateFormat("dd.MM.yyyy, H:m").format(trade.createdAt),
|
||||
transactionDateFormat.format(trade.createdAt),
|
||||
formattedAmount: formattedAmount);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,4 +14,5 @@ class ItemHeaders {
|
||||
static const support = 'Support';
|
||||
static const termsAndConditions = 'Terms and conditions';
|
||||
static const faq = 'FAQ';
|
||||
static const version = 'Version';
|
||||
}
|
||||
@@ -351,9 +351,9 @@ class SettingsFormState extends State<SettingsForm> {
|
||||
final item = _items[index];
|
||||
bool _isDrawDivider = true;
|
||||
|
||||
if (item.attribute == Attributes.header) {
|
||||
if (item.attribute == Attributes.header || item == _items.last) {
|
||||
_isDrawDivider = false;
|
||||
} else if (index < _items.length - 1) {
|
||||
} else {
|
||||
if (_items[index + 1].attribute == Attributes.header) {
|
||||
_isDrawDivider = false;
|
||||
}
|
||||
@@ -381,9 +381,13 @@ class SettingsFormState extends State<SettingsForm> {
|
||||
],
|
||||
);
|
||||
}),
|
||||
Container(
|
||||
height: 20.0,
|
||||
color: Theme.of(context).accentTextTheme.headline.backgroundColor,
|
||||
ListTile(
|
||||
contentPadding: EdgeInsets.only(left: 20.0),
|
||||
title: Text(
|
||||
settingsStore.itemHeaders[ItemHeaders.version],
|
||||
style: TextStyle(
|
||||
fontSize: 14.0, color: Palette.wildDarkBlue)
|
||||
),
|
||||
)
|
||||
],
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user