toggle defaults for chrome tab prefs

This commit is contained in:
Andrew Dolgov 2015-11-30 04:44:25 +03:00
parent d4c9e097bb
commit 6e2b220669
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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>