Hide drive backup and rate tasks in f-droid

pull/795/head
Alex Baker 6 years ago
parent 478734389a
commit 50ebd15a76

@ -201,7 +201,8 @@ public class BasicPreferences extends InjectingPreferenceActivity
//noinspection ConstantConditions
if (!BuildConfig.FLAVOR.equals("googleplay")) {
remove(R.string.p_google_drive_backup);
requires(R.string.backup_BPr_header, false, R.string.p_google_drive_backup);
requires(R.string.about, false, R.string.rate_tasks);
requires(R.string.privacy, false, R.string.p_collect_statistics);
}
}

@ -66,6 +66,7 @@
</PreferenceCategory>
<PreferenceCategory
android:key="@string/backup_BPr_header"
android:title="@string/backup_BPr_header">
<Preference
@ -111,6 +112,7 @@
</PreferenceCategory>
<PreferenceCategory
android:key="@string/about"
android:title="@string/about">
<Preference

Loading…
Cancel
Save