From 56c97cb83ff91d5841cca9d6b84f83f3282055a6 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 17 Nov 2024 10:46:16 +0700 Subject: [PATCH 1/3] Fix crash when remember checked after picking color --- .../java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt b/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt index 1396a5d..eba0efd 100644 --- a/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt +++ b/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt @@ -8,7 +8,9 @@ import org.koin.dsl.module object CommonModule : InjectionModule { override fun create() = module { - singleOf(::OldStorageRepository) + single { + OldStorageRepository(androidContext()) + } singleOf(::FilesRepository) } } \ No newline at end of file From c2bfc4b204b22dbe5792141d161aa758794b6df3 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 17 Nov 2024 11:01:28 +0700 Subject: [PATCH 2/3] Revert change & update serializz plugin --- app/build.gradle | 2 +- .../java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt | 4 +--- build.gradle | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index aa64788..892e2cf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-kapt' - id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.21' + id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.24' } apply from: "$project.rootDir/.scripts/ktlint.gradle" diff --git a/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt b/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt index eba0efd..1396a5d 100644 --- a/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt +++ b/app/src/main/java/dev/arkbuilders/arkretouch/di/common/CommonModule.kt @@ -8,9 +8,7 @@ import org.koin.dsl.module object CommonModule : InjectionModule { override fun create() = module { - single { - OldStorageRepository(androidContext()) - } + singleOf(::OldStorageRepository) singleOf(::FilesRepository) } } \ No newline at end of file diff --git a/build.gradle b/build.gradle index a29569f..8e7f0dc 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,7 @@ plugins { id 'com.android.application' version '8.7.0' apply false id 'com.android.library' version '8.7.0' apply false id 'org.jetbrains.kotlin.android' version '1.9.24' apply false + id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.24' apply false } task clean(type: Delete) { From f0ca6debb4d82ccbb1936c07c91150e60a8916f9 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Sun, 17 Nov 2024 11:10:43 +0700 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 888772f..ec25d91 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ARK Rate: Lightweight Graphic Editor by ARK Builders +# ARK Retouch: Lightweight Graphic Editor by ARK Builders **ARK Retouch** is your powerful graphic assistant right in your pocket! This app is designed not only for photo editing but also for drawing, creating graphic notes with a stylus, and highlighting important information in screenshots.