From cdad1562fe6f161e43f6d7ff97dde87bc7245428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Font=C3=A1n?= Date: Sun, 28 Jul 2024 23:46:20 +0200 Subject: [PATCH] fix: API level lower than TIRAMISU's instantly crashed the app fix: Now not loading MediaStore until the permissions are explicitly given MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gabriel Fontán --- .idea/deploymentTargetSelector.xml | 4 ++-- .../metadator/presentation/Navigation.kt | 2 +- .../presentation/pages/MediaStoreViewModel.kt | 24 ++++++++++++++----- .../presentation/pages/home/HomePage.kt | 23 ++++++++++++------ .../tageditor/rework/MetadataEditorVM.kt | 18 +++++++------- gradle/libs.versions.toml | 2 +- 6 files changed, 47 insertions(+), 26 deletions(-) diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 4561253..69523f7 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@