mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
temporarily disable send button
This commit is contained in:
parent
58c3bdbf2b
commit
8e5f2d190d
2 changed files with 54 additions and 56 deletions
|
@ -232,33 +232,33 @@ class _OrdinalImageGroup extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
width: _spacing,
|
||||
),
|
||||
Expanded(
|
||||
child: PrimaryButton(
|
||||
label: "Send",
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.send,
|
||||
width: 10,
|
||||
height: 10,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.buttonTextPrimary,
|
||||
),
|
||||
buttonHeight: ButtonHeight.l,
|
||||
iconSpacing: 4,
|
||||
onPressed: () async {
|
||||
final response = await showDialog<String?>(
|
||||
context: context,
|
||||
builder: (_) => const SendOrdinalUnfreezeDialog(),
|
||||
);
|
||||
if (response == "unfreeze") {
|
||||
// TODO: unfreeze and go to send ord screen
|
||||
}
|
||||
},
|
||||
),
|
||||
),
|
||||
// const SizedBox(
|
||||
// width: _spacing,
|
||||
// ),
|
||||
// Expanded(
|
||||
// child: PrimaryButton(
|
||||
// label: "Send",
|
||||
// icon: SvgPicture.asset(
|
||||
// Assets.svg.send,
|
||||
// width: 10,
|
||||
// height: 10,
|
||||
// color: Theme.of(context)
|
||||
// .extension<StackColors>()!
|
||||
// .buttonTextPrimary,
|
||||
// ),
|
||||
// buttonHeight: ButtonHeight.l,
|
||||
// iconSpacing: 4,
|
||||
// onPressed: () async {
|
||||
// final response = await showDialog<String?>(
|
||||
// context: context,
|
||||
// builder: (_) => const SendOrdinalUnfreezeDialog(),
|
||||
// );
|
||||
// if (response == "unfreeze") {
|
||||
// // TODO: unfreeze and go to send ord screen
|
||||
// }
|
||||
// },
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
|
|
@ -7,7 +7,6 @@ import 'package:flutter_svg/flutter_svg.dart';
|
|||
import 'package:stackwallet/models/isar/models/blockchain_data/utxo.dart';
|
||||
import 'package:stackwallet/models/isar/ordinal.dart';
|
||||
import 'package:stackwallet/notifications/show_flush_bar.dart';
|
||||
import 'package:stackwallet/pages/ordinals/widgets/dialogs.dart';
|
||||
import 'package:stackwallet/providers/db/main_db_provider.dart';
|
||||
import 'package:stackwallet/providers/global/wallets_provider.dart';
|
||||
import 'package:stackwallet/themes/stack_colors.dart';
|
||||
|
@ -20,7 +19,6 @@ import 'package:stackwallet/utilities/text_styles.dart';
|
|||
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
|
||||
import 'package:stackwallet/widgets/desktop/desktop_app_bar.dart';
|
||||
import 'package:stackwallet/widgets/desktop/desktop_scaffold.dart';
|
||||
import 'package:stackwallet/widgets/desktop/primary_button.dart';
|
||||
import 'package:stackwallet/widgets/desktop/secondary_button.dart';
|
||||
import 'package:stackwallet/widgets/rounded_white_container.dart';
|
||||
|
||||
|
@ -150,33 +148,33 @@ class _DesktopOrdinalDetailsViewState
|
|||
const SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
PrimaryButton(
|
||||
width: 150,
|
||||
label: "Send",
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.send,
|
||||
width: 18,
|
||||
height: 18,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.buttonTextPrimary,
|
||||
),
|
||||
buttonHeight: ButtonHeight.l,
|
||||
iconSpacing: 8,
|
||||
onPressed: () async {
|
||||
final response = await showDialog<String?>(
|
||||
context: context,
|
||||
builder: (_) =>
|
||||
const SendOrdinalUnfreezeDialog(),
|
||||
);
|
||||
if (response == "unfreeze") {
|
||||
// TODO: unfreeze and go to send ord screen
|
||||
}
|
||||
},
|
||||
),
|
||||
const SizedBox(
|
||||
width: 16,
|
||||
),
|
||||
// PrimaryButton(
|
||||
// width: 150,
|
||||
// label: "Send",
|
||||
// icon: SvgPicture.asset(
|
||||
// Assets.svg.send,
|
||||
// width: 18,
|
||||
// height: 18,
|
||||
// color: Theme.of(context)
|
||||
// .extension<StackColors>()!
|
||||
// .buttonTextPrimary,
|
||||
// ),
|
||||
// buttonHeight: ButtonHeight.l,
|
||||
// iconSpacing: 8,
|
||||
// onPressed: () async {
|
||||
// final response = await showDialog<String?>(
|
||||
// context: context,
|
||||
// builder: (_) =>
|
||||
// const SendOrdinalUnfreezeDialog(),
|
||||
// );
|
||||
// if (response == "unfreeze") {
|
||||
// // TODO: unfreeze and go to send ord screen
|
||||
// }
|
||||
// },
|
||||
// ),
|
||||
// const SizedBox(
|
||||
// width: 16,
|
||||
// ),
|
||||
SecondaryButton(
|
||||
width: 150,
|
||||
label: "Download",
|
||||
|
|
Loading…
Reference in a new issue