mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-21 06:18:42 +02:00
Fix monero transaction history. Remove morph and xmr.to from filters. Fixe generation monero blockchain height by date.
This commit is contained in:
@@ -145,14 +145,14 @@ class DashboardPage extends BasePage {
|
||||
image: exchangeImage,
|
||||
title: S.of(context).exchange,
|
||||
route: Routes.exchange),
|
||||
if (isMoneroOnly)
|
||||
if (!isMoneroOnly)
|
||||
ActionButton(
|
||||
image: buyImage,
|
||||
title: S.of(context).buy,
|
||||
onClick: () async =>
|
||||
await _onClickBuyButton(context),
|
||||
),
|
||||
if (isMoneroOnly)
|
||||
if (!isMoneroOnly)
|
||||
ActionButton(
|
||||
image: sellImage,
|
||||
title: 'Sell',
|
||||
|
||||
@@ -104,7 +104,22 @@ class WalletRestorePage extends BasePage {
|
||||
.dateController.text = '';
|
||||
});
|
||||
|
||||
return Column(mainAxisAlignment: MainAxisAlignment.center, children: [
|
||||
return KeyboardActions(
|
||||
config: KeyboardActionsConfig(
|
||||
keyboardActionsPlatform: KeyboardActionsPlatform.IOS,
|
||||
keyboardBarColor: Theme.of(context).accentTextTheme.body2
|
||||
.backgroundColor,
|
||||
nextFocus: false,
|
||||
actions: [
|
||||
KeyboardActionsItem(
|
||||
focusNode: _blockHeightFocusNode,
|
||||
toolbarButtons: [(_) => KeyboardDoneButton()],
|
||||
)
|
||||
]),
|
||||
child: Container(
|
||||
height: 0,
|
||||
color: Theme.of(context).backgroundColor,
|
||||
child: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
|
||||
Expanded(
|
||||
child: PageView.builder(
|
||||
onPageChanged: (page) {
|
||||
@@ -146,7 +161,7 @@ class WalletRestorePage extends BasePage {
|
||||
);
|
||||
},
|
||||
))
|
||||
]);
|
||||
])));
|
||||
}
|
||||
|
||||
Map<String, dynamic> _credentials() {
|
||||
|
||||
@@ -118,7 +118,6 @@ class BlockchainHeightState extends State<BlockchainHeightWidget> {
|
||||
|
||||
if (date != null) {
|
||||
final height = monero.getHeigthByDate(date: date);
|
||||
|
||||
setState(() {
|
||||
dateController.text = DateFormat('yyyy-MM-dd').format(date);
|
||||
restoreHeightController.text = '$height';
|
||||
|
||||
Reference in New Issue
Block a user