diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_pwdstore.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/preference.xml | 4 |
3 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml index 84c7af06..1b7ccac6 100644 --- a/app/src/main/res/layout/activity_pwdstore.xml +++ b/app/src/main/res/layout/activity_pwdstore.xml @@ -3,7 +3,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".pwdstore" - android:orientation="vertical"> + android:orientation="vertical" + android:id="@+id/main_activity"> <LinearLayout android:id="@+id/main_layout" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5823c016..175a20c6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -197,4 +197,6 @@ <string name="no_repo_selected2">No external repository selected</string> <string name="send_plaintext_password_to">Send password as plaintext using…</string> <string name="show_password">Show password</string> + <string name="git_auto_sync_title">Auto Sync on start</string> + <string name="git_auto_sync_summary">Synchronize the repository when starting the application or when resuming.</string> </resources> diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 67c33f8c..c4a2398c 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -16,6 +16,10 @@ <Preference android:key="ssh_see_key" android:title="@string/pref_ssh_see_key_title" /> + <CheckBoxPreference + android:key="git_auto_sync" + android:summary="@string/git_auto_sync_summary" + android:title="@string/git_auto_sync_title" /> <Preference android:key="git_delete_repo" android:summary="@string/pref_git_delete_repo_summary" |