toggle defaults for chrome tab prefs
This commit is contained in:
parent
d4c9e097bb
commit
6e2b220669
@ -248,8 +248,8 @@ public class CommonActivity extends ActionBarActivity implements SharedPreferenc
|
|||||||
|
|
||||||
// uses chrome custom tabs when available
|
// uses chrome custom tabs when available
|
||||||
public void openUri(final Uri uri) {
|
public void openUri(final Uri uri) {
|
||||||
boolean enableCustomTabs = m_prefs.getBoolean("enable_custom_tabs", false);
|
boolean enableCustomTabs = m_prefs.getBoolean("enable_custom_tabs", true);
|
||||||
final boolean askEveryTime = m_prefs.getBoolean("custom_tabs_ask_always", false);
|
final boolean askEveryTime = m_prefs.getBoolean("custom_tabs_ask_always", true);
|
||||||
|
|
||||||
if (enableCustomTabs && m_customTabClient != null) {
|
if (enableCustomTabs && m_customTabClient != null) {
|
||||||
|
|
||||||
|
@ -158,12 +158,12 @@
|
|||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory android:title="Opening links" >
|
<PreferenceCategory android:title="Opening links" >
|
||||||
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="true"
|
||||||
android:key="enable_custom_tabs"
|
android:key="enable_custom_tabs"
|
||||||
android:summary="Open external links with Chrome custom tabs (faster, used if available)"
|
android:summary="Open external links with Chrome custom tabs (faster, used if available)"
|
||||||
android:title="Use quick preview" />
|
android:title="Use quick preview" />
|
||||||
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="true"
|
||||||
android:key="custom_tabs_ask_always"
|
android:key="custom_tabs_ask_always"
|
||||||
android:title="Ask me every time" />
|
android:title="Ask me every time" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
Loading…
Reference in New Issue
Block a user