Skip to content

Commit

Permalink
Merge pull request #125 from MXCzkEVM/big_upgrade
Browse files Browse the repository at this point in the history
Big upgrade
  • Loading branch information
reasje authored Dec 12, 2024
2 parents 63fea9a + f6b87a7 commit fb5205f
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 126 deletions.
79 changes: 0 additions & 79 deletions lib/common/bottom_sheets/base_bottom_sheet.dart

This file was deleted.

1 change: 0 additions & 1 deletion lib/common/bottom_sheets/blueberry_rings_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart';
import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:mxc_ui/mxc_ui.dart';

Future<ScanResult?> showBlueberryRingsBottomSheet(
Expand Down
1 change: 0 additions & 1 deletion lib/common/bottom_sheets/bottom_sheets.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export 'blueberry_rings_bottom_sheet.dart';
export 'base_bottom_sheet.dart';
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:mxc_ui/mxc_ui.dart';

import 'speed_up_cancel_bottom_sheet_info.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:mxc_ui/mxc_ui.dart';

import 'speed_up_cancel_bottom_sheet_info.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:flutter/material.dart';
import 'package:mxc_logic/mxc_logic.dart';

import '../../open_dapp.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart';
import 'package:moonchain_wallet/features/dapps/subfeatures/open_dapp/widgets/add_asset_info.dart';
import 'package:flutter/material.dart';
import 'package:mxc_logic/mxc_logic.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:moonchain_wallet/common/bottom_sheets/bottom_sheets.dart';
import 'package:flutter/material.dart';
import 'package:mxc_logic/mxc_logic.dart';
import 'package:mxc_ui/mxc_ui.dart';

import 'transaction_info.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,46 +57,43 @@ class _TransactionInfoState extends State<TransactionInfo> {
),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 6),
child: Column(
children: [
amountItem(context),
SingleLineInfoItem(
title: 'balance',
value: widget.balance,
hint: widget.token.symbol,
),
SingleLineInfoItem(
title: 'network',
value: widget.network,
),
Column(
children: [
amountItem(context),
SingleLineInfoItem(
title: 'balance',
value: widget.balance,
hint: widget.token.symbol,
),
SingleLineInfoItem(
title: 'network',
value: widget.network,
),
SingleLineInfoItem(
title: 'from',
value: widget.from,
),
SingleLineInfoItem(
title: 'to',
value: widget.to,
),
if (TransactionProcessType.confirm != processType) ...[
SingleLineInfoItem(
title: 'from',
value: widget.from,
title: 'estimated_fee',
value: MXCFormatter.formatNumberForUI(
widget.estimatedFee,
),
hint: widget.networkSymbol,
),
SingleLineInfoItem(
title: 'to',
value: widget.to,
),
if (TransactionProcessType.confirm != processType) ...[
SingleLineInfoItem(
title: 'estimated_fee',
value: MXCFormatter.formatNumberForUI(
widget.estimatedFee,
),
hint: widget.networkSymbol,
),
SingleLineInfoItem(
title: 'max_fee',
value: MXCFormatter.formatNumberForUI(
widget.maxFee,
),
hint: widget.networkSymbol,
title: 'max_fee',
value: MXCFormatter.formatNumberForUI(
widget.maxFee,
),
]
],
),
hint: widget.networkSymbol,
),
]
],
),
const SizedBox(height: 8),
transactionButton(context),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import 'package:moonchain_wallet/common/common.dart';
import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:mxc_ui/mxc_ui.dart';
import 'package:mxc_logic/mxc_logic.dart';
import 'package:mxc_ui/mxc_ui.dart';

import 'filter_and_sort_items.dart';

Expand Down
1 change: 0 additions & 1 deletion lib/features/wallet/presentation/widgets/tweet_widget.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import '../lib/main.dart';
import 'package:appinio_social_share_example/main.dart';

void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
Expand Down

0 comments on commit fb5205f

Please sign in to comment.