diff --git a/README.md b/README.md index 72f520e79..14d9b2617 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ TachiyomiEH is a fork of the [original Tachiyomi app](https://github.com/inorich * Full offline tag/namespace searching support * Batch import galleries * Automatically open E-Hentai/ExHentai links +* Lock the app with a PIN code ### Built-in manga sources ##### SFW diff --git a/app/src/main/java/exh/ui/lock/LockPreference.kt b/app/src/main/java/exh/ui/lock/LockPreference.kt index de658c181..afb60797b 100644 --- a/app/src/main/java/exh/ui/lock/LockPreference.kt +++ b/app/src/main/java/exh/ui/lock/LockPreference.kt @@ -42,7 +42,7 @@ class LockPreference @JvmOverloads constructor(context: Context, attrs: Attribut .content("Enter a pin to lock the application. Enter nothing to disable the pin lock.") .inputRangeRes(0, 10, R.color.material_red_500) .inputType(InputType.TYPE_CLASS_NUMBER) - .input("Password", "", { _, c -> + .input("", "", { _, c -> val progressDialog = MaterialDialog.Builder(context) .title("Saving password") .progress(true, 0)