Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 126 additions & 77 deletions lib/pages/send_view/confirm_transaction_view.dart

Large diffs are not rendered by default.

469 changes: 274 additions & 195 deletions lib/pages/send_view/send_view.dart

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions lib/pages/send_view/sub_widgets/building_transaction_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

import '../../../themes/coin_image_provider.dart';
import '../../../themes/stack_colors.dart';
import '../../../utilities/text_styles.dart';
Expand All @@ -27,11 +28,13 @@ class BuildingTransactionDialog extends ConsumerStatefulWidget {
required this.onCancel,
required this.coin,
required this.isSpark,
this.closeOnCancel = true,
});

final VoidCallback onCancel;
final CryptoCurrency coin;
final bool isSpark;
final bool closeOnCancel;

@override
ConsumerState<BuildingTransactionDialog> createState() =>
Expand Down Expand Up @@ -115,7 +118,9 @@ class _RestoringDialogState extends ConsumerState<BuildingTransactionDialog> {
style: STextStyles.itemSubtitle12(context),
),
onPressed: () {
Navigator.of(context).pop();
if (widget.closeOnCancel) {
Navigator.of(context).pop();
}
onCancel.call();
},
),
Expand All @@ -140,7 +145,9 @@ class _RestoringDialogState extends ConsumerState<BuildingTransactionDialog> {
style: STextStyles.itemSubtitle12(context),
),
onPressed: () {
Navigator.of(context).pop();
if (widget.closeOnCancel) {
Navigator.of(context).pop();
}
onCancel.call();
},
),
Expand Down
151 changes: 0 additions & 151 deletions lib/pages/send_view/sub_widgets/openalias_sheet.dart

This file was deleted.

Loading
Loading