From ec59e348c51879fcc8dc94c110e69e6f45b8f36a Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Wed, 2 Oct 2024 01:11:02 +0200 Subject: [PATCH] map shortcut, geo: uri handling --- android/app/src/main/AndroidManifest.xml | 7 +++ .../deckers/thibault/aves/MainActivity.kt | 37 ++++++++++----- .../ic_shortcut_safe_mode_foreground.xml | 16 ------- .../src/main/res/drawable/ic_shortcut_map.xml | 16 +++++++ .../drawable/ic_shortcut_map_foreground.xml | 16 +++++++ .../res/drawable/ic_shortcut_safe_mode.xml | 16 ------- ...tcut_safe_mode.xml => ic_shortcut_map.xml} | 2 +- android/app/src/main/res/values/strings.xml | 2 +- lib/model/app/intent.dart | 1 + lib/widgets/collection/collection_grid.dart | 5 ++- lib/widgets/common/map/buttons/panel.dart | 7 +++ lib/widgets/common/map/geo_map.dart | 8 +++- lib/widgets/home_page.dart | 45 ++++++++++++++++++- lib/widgets/map/map_page.dart | 18 ++++++-- plugins/aves_map/lib/src/theme.dart | 2 +- 15 files changed, 143 insertions(+), 55 deletions(-) delete mode 100644 android/app/src/main/res/drawable-v26/ic_shortcut_safe_mode_foreground.xml create mode 100644 android/app/src/main/res/drawable/ic_shortcut_map.xml create mode 100644 android/app/src/main/res/drawable/ic_shortcut_map_foreground.xml delete mode 100644 android/app/src/main/res/drawable/ic_shortcut_safe_mode.xml rename android/app/src/main/res/mipmap-anydpi-v26/{ic_shortcut_safe_mode.xml => ic_shortcut_map.xml} (70%) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index b04dc8e34..2cc029d5d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -183,6 +183,13 @@ + + + + + + +