mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Also move persistent=false
to Preferences in app settings
This commit is contained in:
parent
2eabee9eb5
commit
d97288d6a8
1 changed files with 28 additions and 17 deletions
|
@ -32,71 +32,82 @@
|
||||||
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="syncthing_options"
|
android:key="syncthing_options"
|
||||||
android:title="@string/syncthing_options"
|
android:title="@string/syncthing_options">
|
||||||
android:persistent="false">
|
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="DeviceName"
|
android:key="DeviceName"
|
||||||
android:title="@string/device_name" />
|
android:title="@string/device_name"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="ListenAddress"
|
android:key="ListenAddress"
|
||||||
android:title="@string/listen_address" />
|
android:title="@string/listen_address"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="MaxRecvKbps"
|
android:key="MaxRecvKbps"
|
||||||
android:title="@string/max_recv_kbps"
|
android:title="@string/max_recv_kbps"
|
||||||
android:numeric="integer" />
|
android:numeric="integer"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="MaxSendKbps"
|
android:key="MaxSendKbps"
|
||||||
android:title="@string/max_send_kbps"
|
android:title="@string/max_send_kbps"
|
||||||
android:numeric="integer" />
|
android:numeric="integer"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="GlobalAnnEnabled"
|
android:key="GlobalAnnEnabled"
|
||||||
android:title="@string/global_announce_enabled" />
|
android:title="@string/global_announce_enabled"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="LocalAnnEnabled"
|
android:key="LocalAnnEnabled"
|
||||||
android:title="@string/local_announce_enabled" />
|
android:title="@string/local_announce_enabled"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="UPnPEnabled"
|
android:key="UPnPEnabled"
|
||||||
android:title="@string/upnp_enabled" />
|
android:title="@string/upnp_enabled"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="GlobalAnnServers"
|
android:key="GlobalAnnServers"
|
||||||
android:title="@string/global_announce_server" />
|
android:title="@string/global_announce_server"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="URAccepted"
|
android:key="URAccepted"
|
||||||
android:title="@string/usage_reporting" />
|
android:title="@string/usage_reporting"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="syncthing_gui"
|
android:key="syncthing_gui"
|
||||||
android:title="@string/syncthing_gui"
|
android:title="@string/syncthing_gui">
|
||||||
android:persistent="false">
|
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="Address"
|
android:key="Address"
|
||||||
android:title="@string/gui_address" />
|
android:title="@string/gui_address"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="User"
|
android:key="User"
|
||||||
android:title="@string/gui_user" />
|
android:title="@string/gui_user"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:key="Password"
|
android:key="Password"
|
||||||
android:title="@string/gui_password"
|
android:title="@string/gui_password"
|
||||||
android:inputType="textPassword" />
|
android:inputType="textPassword"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="UseTLS"
|
android:key="UseTLS"
|
||||||
android:title="@string/gui_https_enabled"
|
android:title="@string/gui_https_enabled"
|
||||||
android:enabled="false" />
|
android:enabled="false"
|
||||||
|
android:persistent="false" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue