From 337fc1f396c48d8ffd29b849fbd57a4653bec807 Mon Sep 17 00:00:00 2001 From: pasichDev Date: Mon, 31 Aug 2026 11:35:54 +0300 Subject: [PATCH 01/36] chore: upgrade dependencies and fix edge-to-edge --- app/build.gradle | 10 +- app/src/main/assets/editor/editor.html | 1 + .../assets/editor/js/editor-bundle.min.js | 15 +- .../main/assets/editor/js/editor-init.min.js | 10 +- .../mynotes/cache/ThemePreferencesCache.java | 11 +- .../dialogs/MoreNoteDialogPresenter.java | 4 +- .../ui/view/activity/BackupActivity.java | 25 +- .../noteEditor/BaseNoteEditorActivity.java | 4 - .../constants/settings/PreferencesConfig.java | 8 + .../mynotes/utils/file/FileExportUtils.java | 6 + .../cache/ThemePreferencesCacheTest.java | 25 ++ .../MoreNoteDialogPresenterTest.java | 48 +++ .../mynotes/utils/FileExportUtilsTest.java | 32 ++ build.gradle | 4 +- gradle.properties | 10 + gradle/gradle-daemon-jvm.properties | 13 + gradle/wrapper/gradle-wrapper.properties | 2 +- notes_editor/package-lock.json | 400 ++++++++++-------- notes_editor/package.json | 14 +- settings.gradle | 3 + 20 files changed, 426 insertions(+), 219 deletions(-) create mode 100644 app/src/test/java/com/pasich/mynotes/cache/ThemePreferencesCacheTest.java create mode 100644 app/src/test/java/com/pasich/mynotes/presenter/MoreNoteDialogPresenterTest.java create mode 100644 app/src/test/java/com/pasich/mynotes/utils/FileExportUtilsTest.java create mode 100644 gradle/gradle-daemon-jvm.properties diff --git a/app/build.gradle b/app/build.gradle index 1982465f..ba924e9f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -138,14 +138,14 @@ gradle.taskGraph.whenReady { graph -> ext { markwon_version = '4.6.2' - roomVersion = '2.8.1' + roomVersion = '2.8.4' } dependencies { implementation 'androidx.appcompat:appcompat:1.7.1' - implementation 'com.google.android.material:material:1.13.0' - implementation 'androidx.constraintlayout:constraintlayout:2.2.1' + implementation 'com.google.android.material:material:1.14.0' + implementation 'androidx.constraintlayout:constraintlayout:2.2.2' implementation 'androidx.preference:preference:1.2.1' - implementation "androidx.lifecycle:lifecycle-viewmodel:2.10.0" + implementation "androidx.lifecycle:lifecycle-viewmodel:2.11.0" implementation 'androidx.core:core-splashscreen:1.2.0' implementation 'androidx.activity:activity:1.13.0' @@ -166,7 +166,7 @@ dependencies { implementation 'com.android.billingclient:billing:8.3.0' //Other lib (Gson/PhotoView) - implementation 'com.google.code.gson:gson:2.13.2' + implementation 'com.google.code.gson:gson:2.14.0' implementation 'com.github.chrisbanes:PhotoView:2.3.0' implementation 'androidx.exifinterface:exifinterface:1.4.2' diff --git a/app/src/main/assets/editor/editor.html b/app/src/main/assets/editor/editor.html index 629310ab..2b96d3fa 100644 --- a/app/src/main/assets/editor/editor.html +++ b/app/src/main/assets/editor/editor.html @@ -32,6 +32,7 @@ +