fix: inconsistencies in preference switches (#1207)

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
Lisouseinaikyrios
2022-12-09 18:11:16 +01:00
committed by oSumAtrIX
co-authored by oSumAtrIX
parent 72dacd7c9d
commit d5bff774ed
19 changed files with 95 additions and 93 deletions
@@ -26,10 +26,10 @@ class CrowdfundingBoxResourcePatch : ResourcePatch {
SettingsPatch.PreferenceScreen.LAYOUT.addPreferences(
SwitchPreference(
"revanced_hide_crowdfunding_box",
StringResource("revanced_hide_crowdfunding_box_title", "Hide the crowdfunding box"),
StringResource("revanced_hide_crowdfunding_box_title", "Hide crowdfunding box"),
false,
StringResource("revanced_hide_crowdfunding_box_summary_on", "Crowdfunding box is hidden"),
StringResource("revanced_hide_crowdfunding_box_summary_off", "Crowdfunding box is visible")
StringResource("revanced_hide_crowdfunding_box_summary_off", "Crowdfunding box is shown")
)
)