mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
Desktop what is monkey button
This commit is contained in:
parent
b2aa4272b4
commit
4e9ba50572
1 changed files with 30 additions and 10 deletions
|
@ -239,11 +239,12 @@ class _MonkeyViewState extends ConsumerState<MonkeyView> {
|
|||
],
|
||||
),
|
||||
),
|
||||
trailing: AspectRatio(
|
||||
aspectRatio: 1,
|
||||
child: AppBarIconButton(
|
||||
icon: SvgPicture.asset(Assets.svg.circleQuestion),
|
||||
onPressed: () {
|
||||
trailing: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
showDialog<dynamic>(
|
||||
context: context,
|
||||
useSafeArea: false,
|
||||
|
@ -255,7 +256,30 @@ class _MonkeyViewState extends ConsumerState<MonkeyView> {
|
|||
"A MonKey is a visual representation of your Banano address.",
|
||||
);
|
||||
});
|
||||
}),
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
SvgPicture.asset(
|
||||
Assets.svg.circleQuestion,
|
||||
color: Colors.blue[800],
|
||||
),
|
||||
SizedBox(
|
||||
width: 6,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8.0),
|
||||
child: Text(
|
||||
"What is MonKey?",
|
||||
style: STextStyles.desktopTextSmall(context)
|
||||
.copyWith(
|
||||
color: Colors.blue[800],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
useSpacers: false,
|
||||
isCompactHeight: true,
|
||||
|
@ -281,9 +305,6 @@ class _MonkeyViewState extends ConsumerState<MonkeyView> {
|
|||
child: AppBarIconButton(
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.circleQuestion,
|
||||
color: Theme.of(context)
|
||||
.extension<StackColors>()!
|
||||
.infoItemText,
|
||||
),
|
||||
onPressed: () {
|
||||
showDialog<dynamic>(
|
||||
|
@ -403,7 +424,6 @@ class _MonkeyViewState extends ConsumerState<MonkeyView> {
|
|||
message: "Fetching MonKey",
|
||||
subMessage: "We are fetching your MonKey",
|
||||
);
|
||||
|
||||
// if (isDesktop) {
|
||||
// Navigator.of(context).popUntil(
|
||||
// ModalRoute.withName(
|
||||
|
|
Loading…
Reference in a new issue