From c5b38871a5d38521f1996acdd84bf5ff77eb02b6 Mon Sep 17 00:00:00 2001 From: Enzo Date: Tue, 21 Nov 2023 09:59:13 +0100 Subject: [PATCH] correctif my maps --- lib/view/map/my_map.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/view/map/my_map.dart b/lib/view/map/my_map.dart index 64b3609..720d7b3 100644 --- a/lib/view/map/my_map.dart +++ b/lib/view/map/my_map.dart @@ -2,9 +2,9 @@ import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:responsive_builder/responsive_builder.dart'; import 'package:smartfit_app_mobile/modele/user.dart'; +import 'package:smartfit_app_mobile/view/home/no_activity_view.dart'; import 'package:smartfit_app_mobile/view/map/mobile/mobile_my_map.dart'; import 'package:smartfit_app_mobile/view/map/web/web_my_map.dart'; -import 'package:smartfit_app_mobile/view/profile/profile_view.dart'; class MyMap extends StatefulWidget { const MyMap({Key? key}) : super(key: key); @@ -18,8 +18,8 @@ class _MyMapState extends State { Widget build(BuildContext context) { return context.watch().listActivity.isEmpty ? ScreenTypeLayout.builder( - mobile: (_) => const ProfileView(), - desktop: (_) => const ProfileView(), + mobile: (_) => const NoActivityView(), + desktop: (_) => const NoActivityView(), ) : ScreenTypeLayout.builder( mobile: (_) => const MobileMyMaps(),