🪲 fix settings crash in basic build flavor

Some changes to preferences.xml in the latest alpha weren't copied over
to the basic build flavor version of that file. Hence the some code in
the basic build flavor couldn't bind to the messing preferences Views
and crashed instead.
This commit is contained in:
Michael Pöhn
2023-11-23 21:57:15 +01:00
parent 517a3dae5d
commit a8bfad0bd0

View File

@@ -164,6 +164,16 @@
android:summary="@string/send_to_fdroid_metrics_summary"
android:defaultValue="false"
android:dependency="expert" />
<PreferenceScreen
android:key="ipfsGateways"
android:summary="@string/ipfsgw_summary_disabled"
android:title="@string/ipfsgw_title"
android:dependency="expert" >
<intent
android:action="android.intent.action.MAIN"
android:targetClass="org.fdroid.fdroid.views.IpfsGatewaySettingsActivity"
android:targetPackage="@string/applicationId" />
</PreferenceScreen>
<SwitchPreferenceCompat
android:key="hideAllNotifications"
android:title="@string/hide_all_notifications"