Desktop what is monkey button

This commit is contained in:
ryleedavis 2023-07-26 15:37:10 -06:00
parent b2aa4272b4
commit 4e9ba50572

View file

@ -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(