mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 13:21:30 +00:00
Persistent=false should be repeated for all subpreferences, a global persistent flag would have been too easy... (fixes #256)
This commit is contained in:
parent
7b54ce59b1
commit
2b9a79bdad
4 changed files with 30 additions and 8 deletions
|
@ -1,27 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:persistent="false">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="device_id"
|
||||
android:title="@string/device_id"
|
||||
android:widgetLayout="@layout/scan_qr_code_widget" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="name"
|
||||
android:title="@string/name" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="addresses"
|
||||
android:title="@string/addresses" />
|
||||
|
||||
<ListPreference
|
||||
android:persistent="false"
|
||||
android:key="compression"
|
||||
android:entries="@array/compress_entries"
|
||||
android:entryValues="@array/compress_values"
|
||||
android:title="@string/compression" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="introducer"
|
||||
android:title="@string/introducer" />
|
||||
|
||||
|
|
|
@ -1,35 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:persistent="false">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<Preference
|
||||
android:persistent="false"
|
||||
android:key="device_id"
|
||||
android:title="@string/device_id" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="name"
|
||||
android:title="@string/name" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="addresses"
|
||||
android:title="@string/addresses" />
|
||||
|
||||
<ListPreference
|
||||
android:persistent="false"
|
||||
android:key="compression"
|
||||
android:entries="@array/compress_entries"
|
||||
android:entryValues="@array/compress_values"
|
||||
android:title="@string/compression" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="introducer"
|
||||
android:title="@string/introducer" />
|
||||
|
||||
<Preference
|
||||
android:persistent="false"
|
||||
android:key="version"
|
||||
android:title="@string/syncthing_version_title"
|
||||
style="?android:preferenceInformationStyle" />
|
||||
|
||||
<Preference
|
||||
android:persistent="false"
|
||||
android:key="current_address"
|
||||
android:title="@string/current_address"
|
||||
style="?android:preferenceInformationStyle" />
|
||||
|
|
|
@ -1,33 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:persistent="false">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="folder_id"
|
||||
android:title="@string/folder_id" />
|
||||
|
||||
<Preference
|
||||
android:persistent="false"
|
||||
android:key="directory"
|
||||
android:title="@string/directory" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="rescan_interval"
|
||||
android:title="@string/rescan_interval"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="folder_master"
|
||||
android:title="@string/folder_master" />
|
||||
|
||||
<PreferenceScreen
|
||||
android:persistent="false"
|
||||
android:key="devices"
|
||||
android:title="@string/devices" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="versioning"
|
||||
android:title="@string/file_versioning" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="versioning_keep"
|
||||
android:title="@string/keep_versions"
|
||||
android:inputType="numberDecimal" />
|
||||
|
|
|
@ -1,37 +1,43 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:persistent="false">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="folder_id"
|
||||
android:title="@string/folder_id"
|
||||
android:enabled="false"
|
||||
style="?android:preferenceInformationStyle" />
|
||||
|
||||
<Preference
|
||||
android:persistent="false"
|
||||
android:key="directory"
|
||||
android:title="@string/directory"
|
||||
android:enabled="false"
|
||||
style="?android:preferenceInformationStyle" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="rescan_interval"
|
||||
android:title="@string/rescan_interval"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="folder_master"
|
||||
android:title="@string/folder_master" />
|
||||
|
||||
<PreferenceScreen
|
||||
android:persistent="false"
|
||||
android:key="devices"
|
||||
android:title="@string/devices" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:persistent="false"
|
||||
android:key="versioning"
|
||||
android:title="File Versioning" />
|
||||
|
||||
<EditTextPreference
|
||||
android:persistent="false"
|
||||
android:key="versioning_keep"
|
||||
android:title="@string/keep_versions"
|
||||
android:inputType="numberDecimal" />
|
||||
|
|
Loading…
Reference in a new issue