From 1237af1ff328702c6f8a02187f0bb51917008633 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 3 Apr 2021 11:38:01 -0400 Subject: [PATCH] Move BiometricUtil to correct package --- .../eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt | 2 +- .../eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt | 2 +- .../kanade/tachiyomi/ui/setting/SettingsSecurityController.kt | 2 +- .../kanade/tachiyomi/{widget => util/system}/BiometricUtil.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename app/src/main/java/eu/kanade/tachiyomi/{widget => util/system}/BiometricUtil.kt (95%) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt index c3e0c51fc2..e346c3d67d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/security/BiometricUnlockActivity.kt @@ -5,7 +5,7 @@ import androidx.appcompat.app.AppCompatActivity import androidx.biometric.BiometricPrompt import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.preference.PreferencesHelper -import eu.kanade.tachiyomi.widget.BiometricUtil +import eu.kanade.tachiyomi.util.system.BiometricUtil import uy.kohesive.injekt.injectLazy import java.util.Date import java.util.concurrent.Executors diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt index f45d702ae6..67071e5a5b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/security/SecureActivityDelegate.kt @@ -5,7 +5,7 @@ import android.view.WindowManager import androidx.fragment.app.FragmentActivity import androidx.lifecycle.lifecycleScope import eu.kanade.tachiyomi.data.preference.PreferencesHelper -import eu.kanade.tachiyomi.widget.BiometricUtil +import eu.kanade.tachiyomi.util.system.BiometricUtil import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach import uy.kohesive.injekt.injectLazy diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt index 27ad71866f..8cc4a7f2e3 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt @@ -8,7 +8,7 @@ import eu.kanade.tachiyomi.util.preference.intListPreference import eu.kanade.tachiyomi.util.preference.summaryRes import eu.kanade.tachiyomi.util.preference.switchPreference import eu.kanade.tachiyomi.util.preference.titleRes -import eu.kanade.tachiyomi.widget.BiometricUtil +import eu.kanade.tachiyomi.util.system.BiometricUtil import kotlinx.coroutines.flow.launchIn import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys diff --git a/app/src/main/java/eu/kanade/tachiyomi/widget/BiometricUtil.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/BiometricUtil.kt similarity index 95% rename from app/src/main/java/eu/kanade/tachiyomi/widget/BiometricUtil.kt rename to app/src/main/java/eu/kanade/tachiyomi/util/system/BiometricUtil.kt index ebc091200a..1f42f3d7dd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/widget/BiometricUtil.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/BiometricUtil.kt @@ -1,4 +1,4 @@ -package eu.kanade.tachiyomi.widget +package eu.kanade.tachiyomi.util.system import android.content.Context import androidx.biometric.BiometricManager