diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-11-13 11:34:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-13 11:34:57 +0530 |
commit | 1f158c5ca6f5b88df0ff0a6234299bf839581c04 (patch) | |
tree | eaa76473c3c8fe046e441edcb5e8016ae82cf9e8 /app/src/main/res | |
parent | 4c751a175f9a267e7bfb37b50ebb954fb9e552ee (diff) |
Add option to show hidden folders (#571)
* Add option to show hidden folders
Fixes #446
* Simplify filtering
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/preference.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9ac5a850..c0c4c3fd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -274,4 +274,6 @@ <string name="access_sdcard_text">The store is on the sdcard but the app does not have permission to access it. Please give permission.</string> <string name="your_public_key">Your public key</string> <string name="error_generate_ssh_key">Error while trying to generate the ssh-key</string> + <string name="pref_show_hidden_title">Show hidden folders</string> + <string name="pref_show_hidden_summary">Include hidden directories in the password list</string> </resources> diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 3f05af08..b03bfa5b 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -90,6 +90,12 @@ android:entryValues="@array/sort_order_values" android:persistent="true" /> <androidx.preference.SwitchPreferenceCompat + android:title="@string/pref_show_hidden_title" + android:summary="@string/pref_show_hidden_summary" + android:key="show_hidden_folders" + android:defaultValue="false" + android:persistent="true" /> + <androidx.preference.SwitchPreferenceCompat android:key="biometric_auth" android:title="@string/biometric_auth_title" android:summary="@string/biometric_auth_summary" /> |