Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
a783834de7 chore(release): 2.174.0-dev.1 [skip ci]
# [2.174.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.173.1-dev.1...v2.174.0-dev.1) (2023-05-03)

### Features

* **youtube/settings:** add reset button to edit preference dialog ([#2047](https://github.com/revanced/revanced-patches/issues/2047)) ([a33d04f](a33d04fdac))
2023-05-03 07:52:53 +00:00
LisoUseInAIKyrios
a33d04fdac feat(youtube/settings): add reset button to edit preference dialog (#2047) 2023-05-03 11:50:35 +04:00
5 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
# [2.174.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.173.1-dev.1...v2.174.0-dev.1) (2023-05-03)
### Features
* **youtube/settings:** add reset button to edit preference dialog ([#2047](https://github.com/revanced/revanced-patches/issues/2047)) ([ede765a](https://github.com/revanced/revanced-patches/commit/ede765ae3c506909ee8a99517b99b6f5f113f01a))
## [2.173.1-dev.1](https://github.com/revanced/revanced-patches/compare/v2.173.0...v2.173.1-dev.1) (2023-05-03)

View File

@@ -1,2 +1,2 @@
kotlin.code.style = official
version = 2.173.1-dev.1
version = 2.174.0-dev.1

View File

@@ -23,7 +23,7 @@ internal class TextPreference(
val default: String? = null,
val summary: StringResource? = null
) : BasePreference(key, title) {
override val tag: String = "EditTextPreference"
override val tag: String = "app.revanced.integrations.settingsmenu.ResettableEditTextPreference"
override fun serialize(ownerDocument: Document, resourceCallback: ((IResource) -> Unit)?): Element {
return super.serialize(ownerDocument, resourceCallback).apply {

View File

@@ -20,7 +20,7 @@ class ThemeResourcePatch : ResourcePatch {
"revanced_seekbar_color",
StringResource("revanced_seekbar_color_title", "Seekbar color"),
InputType.STRING,
"#ffff0000",
"#FF0000",
StringResource(
"revanced_seekbar_color_summary",
"The color of the seekbar for the dark theme."

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="revanced_settings_confirm_user_dialog_title">Do you wish to proceed?</string>
<string name="revanced_settings_reset">Reset</string>
</resources>