Add Marketplace to dashboard view

This commit is contained in:
OmarHatem 2023-02-10 18:40:50 +02:00
parent a116241185
commit 6d49e6a543
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,6 @@
import 'package:cake_wallet/entities/main_actions.dart'; 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/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:cake_wallet/view_model/dashboard/dashboard_view_model.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -65,6 +66,9 @@ class DesktopDashboardActions extends StatelessWidget {
), ),
], ],
), ),
Expanded(
child: MarketPlacePage(dashboardViewModel: dashboardViewModel),
),
], ],
); );
} }

View file

@ -15,7 +15,7 @@ class MarketPlaceItem extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return InkWell( return GestureDetector(
onTap: onTap, onTap: onTap,
child: Stack( child: Stack(
children: [ children: [