mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Remove option 'Download content only via Wifi' for custom apps #220
This commit is contained in:
parent
e6dcc9c21d
commit
0651037ceb
@ -167,6 +167,11 @@ public class KiwixSettingsActivity extends AppCompatActivity {
|
||||
} else {
|
||||
getPreferenceScreen().removePreference(getPrefrence("pref_language"));
|
||||
}
|
||||
|
||||
if (BuildConfig.IS_CUSTOM_APP) {
|
||||
getPreferenceScreen().removePreference(getPrefrence("pref_wifi_only"));
|
||||
}
|
||||
|
||||
mSlider = (SliderPreference) getPrefrence(PREF_ZOOM);
|
||||
setSliderState();
|
||||
setStorage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user