From 46ea7d4d4df7e201e8e0dcf973f8a9c02bbfe98a Mon Sep 17 00:00:00 2001 From: tuancoltech Date: Sun, 23 Jun 2024 10:49:24 +0700 Subject: [PATCH] Update filepicker library version to 0.2.0 --- app/build.gradle | 2 +- app/src/main/java/dev/arkbuilders/arkmemo/App.kt | 2 +- .../dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt | 2 +- .../dev/arkbuilders/arkmemo/ui/dialogs/FilePickerDialog.kt | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index cc6b2e6e..57cabcca 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -89,7 +89,7 @@ dependencies { implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' - implementation 'dev.arkbuilders:arkfilepicker:0.1.1' + implementation 'dev.arkbuilders.components:filepicker:0.2.0' implementation 'dev.arkbuilders:arklib:0.3.3' implementation 'androidx.preference:preference:1.2.0' diff --git a/app/src/main/java/dev/arkbuilders/arkmemo/App.kt b/app/src/main/java/dev/arkbuilders/arkmemo/App.kt index fdf2e0c6..471d51ae 100644 --- a/app/src/main/java/dev/arkbuilders/arkmemo/App.kt +++ b/app/src/main/java/dev/arkbuilders/arkmemo/App.kt @@ -2,7 +2,7 @@ package dev.arkbuilders.arkmemo import android.app.Application import dagger.hilt.android.HiltAndroidApp -import dev.arkbuilders.arkfilepicker.folders.FoldersRepo +import dev.arkbuilders.arklib.data.folders.FoldersRepo import dev.arkbuilders.arklib.initArkLib import dev.arkbuilders.arkmemo.preferences.MemoPreferences import javax.inject.Inject diff --git a/app/src/main/java/dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt b/app/src/main/java/dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt index dd2ded54..f8d38526 100644 --- a/app/src/main/java/dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt +++ b/app/src/main/java/dev/arkbuilders/arkmemo/ui/activities/MainActivity.kt @@ -12,7 +12,6 @@ import androidx.core.view.isVisible import androidx.fragment.app.Fragment import by.kirich1409.viewbindingdelegate.viewBinding import dagger.hilt.android.AndroidEntryPoint -import dev.arkbuilders.arkfilepicker.presentation.onArkPathPicked import dev.arkbuilders.arkmemo.R import dev.arkbuilders.arkmemo.contracts.PermissionContract import dev.arkbuilders.arkmemo.databinding.ActivityMainBinding @@ -21,6 +20,7 @@ import dev.arkbuilders.arkmemo.ui.dialogs.FilePickerDialog import dev.arkbuilders.arkmemo.ui.fragments.BaseFragment import dev.arkbuilders.arkmemo.ui.fragments.EditTextNotesFragment import dev.arkbuilders.arkmemo.ui.fragments.NotesFragment +import dev.arkbuilders.components.filepicker.onArkPathPicked import javax.inject.Inject @AndroidEntryPoint diff --git a/app/src/main/java/dev/arkbuilders/arkmemo/ui/dialogs/FilePickerDialog.kt b/app/src/main/java/dev/arkbuilders/arkmemo/ui/dialogs/FilePickerDialog.kt index df554660..a0c5f8a2 100644 --- a/app/src/main/java/dev/arkbuilders/arkmemo/ui/dialogs/FilePickerDialog.kt +++ b/app/src/main/java/dev/arkbuilders/arkmemo/ui/dialogs/FilePickerDialog.kt @@ -10,12 +10,12 @@ import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat import androidx.fragment.app.FragmentManager import dagger.hilt.android.AndroidEntryPoint -import dev.arkbuilders.arkfilepicker.ArkFilePickerConfig -import dev.arkbuilders.arkfilepicker.presentation.filepicker.ArkFilePickerFragment -import dev.arkbuilders.arkfilepicker.presentation.filepicker.ArkFilePickerMode import dev.arkbuilders.arkmemo.BuildConfig import dev.arkbuilders.arkmemo.R import dev.arkbuilders.arkmemo.preferences.MemoPreferences +import dev.arkbuilders.components.filepicker.ArkFilePickerConfig +import dev.arkbuilders.components.filepicker.ArkFilePickerFragment +import dev.arkbuilders.components.filepicker.ArkFilePickerMode import javax.inject.Inject @AndroidEntryPoint