1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

Also move persistent=false to Preferences in app settings

This commit is contained in:
Felix Ableitner 2015-03-22 22:14:09 +01:00
parent 2eabee9eb5
commit d97288d6a8

View file

@ -32,71 +32,82 @@
<PreferenceScreen
android:key="syncthing_options"
android:title="@string/syncthing_options"
android:persistent="false">
android:title="@string/syncthing_options">
<EditTextPreference
android:key="DeviceName"
android:title="@string/device_name" />
android:title="@string/device_name"
android:persistent="false" />
<EditTextPreference
android:key="ListenAddress"
android:title="@string/listen_address" />
android:title="@string/listen_address"
android:persistent="false" />
<EditTextPreference
android:key="MaxRecvKbps"
android:title="@string/max_recv_kbps"
android:numeric="integer" />
android:numeric="integer"
android:persistent="false" />
<EditTextPreference
android:key="MaxSendKbps"
android:title="@string/max_send_kbps"
android:numeric="integer" />
android:numeric="integer"
android:persistent="false" />
<CheckBoxPreference
android:key="GlobalAnnEnabled"
android:title="@string/global_announce_enabled" />
android:title="@string/global_announce_enabled"
android:persistent="false" />
<CheckBoxPreference
android:key="LocalAnnEnabled"
android:title="@string/local_announce_enabled" />
android:title="@string/local_announce_enabled"
android:persistent="false" />
<CheckBoxPreference
android:key="UPnPEnabled"
android:title="@string/upnp_enabled" />
android:title="@string/upnp_enabled"
android:persistent="false" />
<EditTextPreference
android:key="GlobalAnnServers"
android:title="@string/global_announce_server" />
android:title="@string/global_announce_server"
android:persistent="false" />
<CheckBoxPreference
android:key="URAccepted"
android:title="@string/usage_reporting" />
android:title="@string/usage_reporting"
android:persistent="false" />
</PreferenceScreen>
<PreferenceScreen
android:key="syncthing_gui"
android:title="@string/syncthing_gui"
android:persistent="false">
android:title="@string/syncthing_gui">
<EditTextPreference
android:key="Address"
android:title="@string/gui_address" />
android:title="@string/gui_address"
android:persistent="false" />
<EditTextPreference
android:key="User"
android:title="@string/gui_user" />
android:title="@string/gui_user"
android:persistent="false" />
<EditTextPreference
android:key="Password"
android:title="@string/gui_password"
android:inputType="textPassword" />
android:inputType="textPassword"
android:persistent="false" />
<CheckBoxPreference
android:key="UseTLS"
android:title="@string/gui_https_enabled"
android:enabled="false" />
android:enabled="false"
android:persistent="false" />
</PreferenceScreen>