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
|
||||
public void openUri(final Uri uri) {
|
||||
boolean enableCustomTabs = m_prefs.getBoolean("enable_custom_tabs", false);
|
||||
final boolean askEveryTime = m_prefs.getBoolean("custom_tabs_ask_always", false);
|
||||
boolean enableCustomTabs = m_prefs.getBoolean("enable_custom_tabs", true);
|
||||
final boolean askEveryTime = m_prefs.getBoolean("custom_tabs_ask_always", true);
|
||||
|
||||
if (enableCustomTabs && m_customTabClient != null) {
|
||||
|
||||
|
@ -158,12 +158,12 @@
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="Opening links" >
|
||||
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:key="enable_custom_tabs"
|
||||
android:summary="Open external links with Chrome custom tabs (faster, used if available)"
|
||||
android:title="Use quick preview" />
|
||||
<org.fox.ttrss.util.LessBrokenSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:key="custom_tabs_ask_always"
|
||||
android:title="Ask me every time" />
|
||||
</PreferenceCategory>
|
||||
|
Loading…
Reference in New Issue
Block a user