Temporarily disable in-app links until they are translated

This commit is contained in:
Cameron Gutman 2022-05-18 22:40:47 -05:00
parent 894c146988
commit cdeda011a4
2 changed files with 4 additions and 4 deletions

View File

@ -233,11 +233,11 @@ public class StreamSettings extends Activity {
} }
// Fire TV apps are not allowed to use WebViews or browsers, so hide the Help category // Fire TV apps are not allowed to use WebViews or browsers, so hide the Help category
if (getActivity().getPackageManager().hasSystemFeature("amazon.hardware.fire_tv")) { /*if (getActivity().getPackageManager().hasSystemFeature("amazon.hardware.fire_tv")) {
PreferenceCategory category = PreferenceCategory category =
(PreferenceCategory) findPreference("category_help"); (PreferenceCategory) findPreference("category_help");
screen.removePreference(category); screen.removePreference(category);
} }*/
// Remove the vibration options if the device can't vibrate // Remove the vibration options if the device can't vibrate
if (!((Vibrator)getActivity().getSystemService(Context.VIBRATOR_SERVICE)).hasVibrator()) { if (!((Vibrator)getActivity().getSystemService(Context.VIBRATOR_SERVICE)).hasVibrator()) {

View File

@ -206,7 +206,7 @@
android:summary="@string/summary_enable_post_stream_toast" android:summary="@string/summary_enable_post_stream_toast"
android:defaultValue="false"/> android:defaultValue="false"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="@string/category_help" <!--PreferenceCategory android:title="@string/category_help"
android:key="category_help"> android:key="category_help">
<com.limelight.preferences.WebLauncherPreference <com.limelight.preferences.WebLauncherPreference
android:title="@string/title_setup_guide" android:title="@string/title_setup_guide"
@ -220,5 +220,5 @@
android:title="@string/title_privacy_policy" android:title="@string/title_privacy_policy"
android:summary="@string/summary_privacy_policy" android:summary="@string/summary_privacy_policy"
url="https://moonlight-stream.org/privacy.html"/> url="https://moonlight-stream.org/privacy.html"/>
</PreferenceCategory> </PreferenceCategory-->
</PreferenceScreen> </PreferenceScreen>