MainActivity: Restrict self-updates check to non-fdroid builds
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -393,4 +393,7 @@
|
||||
<string name="android_market_desc">Android Market was an online store offering software applications designed for Android devices, retired in 2017.</string>
|
||||
<string name="app_link_amazon_appstore" translatable="false">www.amazon.com</string>
|
||||
<string name="amazon_appstore_desc">Amazon Appstore is an app store for Android-compatible platforms operated by Amazon.</string>
|
||||
|
||||
<string name="pref_self_update_title">Self-updates</string>
|
||||
<string name="pref_self_update_summary">Check and notify if a new stable version of Aurora Store is available</string>
|
||||
</resources>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user