mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
Monkey help message
This commit is contained in:
parent
ea9f997d0b
commit
86d3258910
3 changed files with 25 additions and 56 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit e48952185556a10f182184fd572bcb04365f5831
|
Subproject commit 407425c9fcf7a30c81f1345246c7225bc18b5cd5
|
|
@ -22,6 +22,7 @@ import 'package:stackwallet/widgets/conditional_parent.dart';
|
||||||
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
|
import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart';
|
||||||
import 'package:stackwallet/widgets/desktop/primary_button.dart';
|
import 'package:stackwallet/widgets/desktop/primary_button.dart';
|
||||||
import 'package:stackwallet/widgets/desktop/secondary_button.dart';
|
import 'package:stackwallet/widgets/desktop/secondary_button.dart';
|
||||||
|
import 'package:stackwallet/widgets/stack_dialog.dart';
|
||||||
|
|
||||||
class MonkeyView extends ConsumerStatefulWidget {
|
class MonkeyView extends ConsumerStatefulWidget {
|
||||||
const MonkeyView({
|
const MonkeyView({
|
||||||
|
@ -220,34 +221,10 @@ class _MonkeyViewState extends ConsumerState<MonkeyView> {
|
||||||
useSafeArea: false,
|
useSafeArea: false,
|
||||||
barrierDismissible: true,
|
barrierDismissible: true,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return Dialog(
|
return const StackOkDialog(
|
||||||
child: Material(
|
title: "About MonKeys",
|
||||||
borderRadius: BorderRadius.circular(
|
message:
|
||||||
20,
|
"A MonKey is a visual representation of your Banano address.",
|
||||||
),
|
|
||||||
child: Container(
|
|
||||||
height: 200,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: Theme.of(context)
|
|
||||||
.extension<StackColors>()!
|
|
||||||
.popupBG,
|
|
||||||
borderRadius: BorderRadius.circular(
|
|
||||||
20,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
child: Column(
|
|
||||||
children: [
|
|
||||||
Center(
|
|
||||||
child: Text(
|
|
||||||
"Help",
|
|
||||||
style: STextStyles.pageTitleH2(
|
|
||||||
context),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -925,23 +925,15 @@ class _WalletViewState extends ConsumerState<WalletView> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
if (ref.watch(
|
|
||||||
walletsChangeNotifierProvider.select(
|
|
||||||
(value) => value
|
|
||||||
.getManager(widget.walletId)
|
|
||||||
.hasCoinControlSupport,
|
|
||||||
),
|
|
||||||
) &&
|
|
||||||
ref.watch(
|
|
||||||
prefsChangeNotifierProvider.select(
|
|
||||||
(value) => value.enableCoinControl,
|
|
||||||
),
|
|
||||||
))
|
|
||||||
WalletNavigationBarItemData(
|
WalletNavigationBarItemData(
|
||||||
icon: SvgPicture.asset(Assets.svg.monkey,
|
icon: SvgPicture.asset(
|
||||||
|
Assets.svg.monkey,
|
||||||
height: 20,
|
height: 20,
|
||||||
width: 20,
|
width: 20,
|
||||||
color: Theme.of(context).extension<StackColors>()!.bottomNavIconIcon,),
|
color: Theme.of(context)
|
||||||
|
.extension<StackColors>()!
|
||||||
|
.bottomNavIconIcon,
|
||||||
|
),
|
||||||
label: "MonKey",
|
label: "MonKey",
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
|
|
Loading…
Reference in a new issue