From 357b7c193548a125591b5462c5de6ef6469b73f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Font=C3=A1n?= Date: Sun, 28 Jul 2024 18:42:29 +0200 Subject: [PATCH] perf: Rewritten the metadata saver 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 | 140 +++-- .../tageditor/ID3MetadataEditorPage.kt | 65 +-- .../tageditor/rework/MetadataEditorPage.kt | 500 ++++++++++++++++++ .../tageditor/rework/MetadataEditorVM.kt | 343 ++++++++++++ app/src/main/res/values/strings.xml | 1 + .../text/PreConfiguredOutlinedTextField.kt | 30 +- .../util/RememberSaveableWithInitialValue.kt | 12 +- .../main/java/com/bobbyesp/ui/util/Savers.kt | 15 + .../com/bobbyesp/utilities/ext/PropertyMap.kt | 16 + .../utilities/mediastore/AudioFileMetadata.kt | 2 + .../bobbyesp/utilities/states/ScreenState.kt | 2 +- gradle/libs.versions.toml | 4 +- 13 files changed, 1021 insertions(+), 113 deletions(-) create mode 100644 app/src/main/java/com/bobbyesp/metadator/presentation/pages/utilities/tageditor/rework/MetadataEditorPage.kt create mode 100644 app/src/main/java/com/bobbyesp/metadator/presentation/pages/utilities/tageditor/rework/MetadataEditorVM.kt create mode 100644 app/ui/src/main/java/com/bobbyesp/ui/util/Savers.kt diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 7c11440..4561253 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@