diff options
author | Aditya Wasan <adityawasan55@gmail.com> | 2020-10-15 20:46:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 20:46:39 +0530 |
commit | 92f1aab25da12411aa256c3b763e0cb6182e9320 (patch) | |
tree | 6dd854cfe0df29e8dfda3eb46c994d1192bce62a /app/src/main/res/xml/preference.xml | |
parent | a025ecf0730ed0a0eb2b0431fd1564657a97b073 (diff) |
Add option to automatically sync repository on app launch (#1137)
* Add option to automatically sync repository on app launch
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Pull repo if user is not authenticated
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Address review comments
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Hijack incoming intent rather than copying it
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Initialize password repository before using it
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/xml/preference.xml')
-rw-r--r-- | app/src/main/res/xml/preference.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 58a173c5..6631133f 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -138,6 +138,12 @@ app:key="biometric_auth" app:summary="@string/biometric_auth_summary" app:title="@string/biometric_auth_title" /> + <CheckBoxPreference + app:defaultValue="false" + app:key="sync_on_launch" + app:persistent="true" + app:summary="@string/sync_on_launch_summary" + app:title="@string/sync_on_launch_title" /> </PreferenceCategory> <PreferenceCategory app:title="@string/pref_category_title_passwords"> <EditTextPreference |