From 6d49e6a5433495f9054dc26953dc065d84bf33f8 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Fri, 10 Feb 2023 18:40:50 +0200 Subject: [PATCH] Add Marketplace to dashboard view --- .../dashboard/desktop_widgets/desktop_dashboard_actions.dart | 4 ++++ lib/src/widgets/market_place_item.dart | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/src/screens/dashboard/desktop_widgets/desktop_dashboard_actions.dart b/lib/src/screens/dashboard/desktop_widgets/desktop_dashboard_actions.dart index 3e6b8afd9..d97ce8cd1 100644 --- a/lib/src/screens/dashboard/desktop_widgets/desktop_dashboard_actions.dart +++ b/lib/src/screens/dashboard/desktop_widgets/desktop_dashboard_actions.dart @@ -1,5 +1,6 @@ import 'package:cake_wallet/entities/main_actions.dart'; import 'package:cake_wallet/src/screens/dashboard/desktop_widgets/desktop_action_button.dart'; +import 'package:cake_wallet/src/screens/dashboard/widgets/market_place_page.dart'; import 'package:cake_wallet/view_model/dashboard/dashboard_view_model.dart'; import 'package:flutter/material.dart'; @@ -65,6 +66,9 @@ class DesktopDashboardActions extends StatelessWidget { ), ], ), + Expanded( + child: MarketPlacePage(dashboardViewModel: dashboardViewModel), + ), ], ); } diff --git a/lib/src/widgets/market_place_item.dart b/lib/src/widgets/market_place_item.dart index 8049a6346..8b8963bbe 100644 --- a/lib/src/widgets/market_place_item.dart +++ b/lib/src/widgets/market_place_item.dart @@ -15,7 +15,7 @@ class MarketPlaceItem extends StatelessWidget { @override Widget build(BuildContext context) { - return InkWell( + return GestureDetector( onTap: onTap, child: Stack( children: [