From 71269c8da800e6446fea493a98a0b9d0e85c2c71 Mon Sep 17 00:00:00 2001 From: otbenjello Date: Wed, 6 Dec 2023 11:29:14 +0100 Subject: [PATCH] correction mapIcon --- assets/img/mapIcon.svg | 19 +++++ assets/img/mapIcon_selected.svg | 81 +++++++++++++++++++ .../main_tab/mobile/mobile_main_tab_view.dart | 4 +- lib/view/main_tab/web/web_main_tab_view.dart | 4 +- 4 files changed, 104 insertions(+), 4 deletions(-) create mode 100644 assets/img/mapIcon.svg create mode 100644 assets/img/mapIcon_selected.svg diff --git a/assets/img/mapIcon.svg b/assets/img/mapIcon.svg new file mode 100644 index 0000000..576fc90 --- /dev/null +++ b/assets/img/mapIcon.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/assets/img/mapIcon_selected.svg b/assets/img/mapIcon_selected.svg new file mode 100644 index 0000000..6ab505c --- /dev/null +++ b/assets/img/mapIcon_selected.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/view/main_tab/mobile/mobile_main_tab_view.dart b/lib/view/main_tab/mobile/mobile_main_tab_view.dart index 7b0c1c5..5fbd638 100644 --- a/lib/view/main_tab/mobile/mobile_main_tab_view.dart +++ b/lib/view/main_tab/mobile/mobile_main_tab_view.dart @@ -92,8 +92,8 @@ class _MobileMainTabViewState extends State { width: 40, ), TabButton( - icon: "assets/img/Camera_tab.svg", - selectIcon: "assets/img/Camera_tab_select.svg", + icon: "assets/img/mapIcon.svg", + selectIcon: "assets/img/mapIcon_selected.svg", isActive: selectTab == 2, onTap: () { selectTab = 2; diff --git a/lib/view/main_tab/web/web_main_tab_view.dart b/lib/view/main_tab/web/web_main_tab_view.dart index 3a077d1..759558e 100644 --- a/lib/view/main_tab/web/web_main_tab_view.dart +++ b/lib/view/main_tab/web/web_main_tab_view.dart @@ -76,8 +76,8 @@ class _WebMainTabViewState extends State { ), ), sideBarButton( - icon: "assets/img/icon_map.svg", - selectIcon: "assets/img/icon_map.svg", + icon: "assets/img/mapIcon.svg", + selectIcon: "assets/img/mapIcon_selected.svg", index: 2, onTap: () => updateTab(2, const MyMap()), ),