MainActivity: Restrict self-updates check to non-fdroid builds

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
ThIsLinked
2023-11-16 05:19:56 +02:00
committed by Aayush Gupta
parent 11302915d2
commit 63460f8629
6 changed files with 47 additions and 8 deletions

View File

@@ -20,6 +20,14 @@
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_SELF_UPDATE"
app:singleLineTitle="false"
app:summary="@string/pref_self_update_summary"
app:title="@string/pref_self_update_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"