Fix default value of watch background enabled

captchafix
Florens Douwes 11 years ago
parent 01f27df7e8
commit 6476d65da2
  1. 2
      Clover/app/src/main/java/org/floens/chan/core/ChanPreferences.java
  2. 4
      Clover/app/src/main/res/xml/preference_watch.xml

@ -70,7 +70,7 @@ public class ChanPreferences {
}
public static boolean getWatchBackgroundEnabled() {
return p().getBoolean("preference_watch_background_enabled", true);
return p().getBoolean("preference_watch_background_enabled", false);
}
public static long getWatchBackgroundTimeout() {

@ -5,7 +5,8 @@
android:key="preference_watch_background_enabled"
android:summaryOff="@string/watch_enable_background_off"
android:summaryOn="@string/watch_enable_background_on"
android:title="@string/watch_enable_background" />
android:title="@string/watch_enable_background"
android:defaultValue="off" />
<ListPreference
android:dependency="preference_watch_background_enabled"
@ -14,7 +15,6 @@
android:entries="@array/watch_background_timeouts"
android:entryValues="@array/watch_background_timeouts_int"
android:key="preference_watch_background_timeout"
android:summary="Foo"
android:title="@string/watch_background_timeout_description" />
</PreferenceScreen>
Loading…
Cancel
Save