diff --git a/app/src/main/java/io/legado/app/ui/replace/edit/ReplaceEditActivity.kt b/app/src/main/java/io/legado/app/ui/replace/edit/ReplaceEditActivity.kt
index 9c8044075..192b66fb2 100644
--- a/app/src/main/java/io/legado/app/ui/replace/edit/ReplaceEditActivity.kt
+++ b/app/src/main/java/io/legado/app/ui/replace/edit/ReplaceEditActivity.kt
@@ -97,6 +97,7 @@ class ReplaceEditActivity :
cbScopeTitle.isChecked = replaceRule.scopeTitle
cbScopeContent.isChecked = replaceRule.scopeContent
etScope.setText(replaceRule.scope)
+ etTimeout.setText(replaceRule.timeoutMillisecond.toString())
}
private fun getReplaceRule(): ReplaceRule = binding.run {
@@ -109,6 +110,7 @@ class ReplaceEditActivity :
replaceRule.scopeTitle = cbScopeTitle.isChecked
replaceRule.scopeContent = cbScopeContent.isChecked
replaceRule.scope = etScope.text.toString()
+ replaceRule.timeoutMillisecond = etTimeout.text.toString().toLong()
return replaceRule
}
diff --git a/app/src/main/res/layout/activity_replace_edit.xml b/app/src/main/res/layout/activity_replace_edit.xml
index 234eec3ec..7d15630f8 100644
--- a/app/src/main/res/layout/activity_replace_edit.xml
+++ b/app/src/main/res/layout/activity_replace_edit.xml
@@ -139,6 +139,20 @@
tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
+
+
+
+
+
diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml
index c9f72740e..1c1ebb484 100644
--- a/app/src/main/res/values-es-rES/strings.xml
+++ b/app/src/main/res/values-es-rES/strings.xml
@@ -973,5 +973,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml
index 7f71a4052..02b599a14 100644
--- a/app/src/main/res/values-ja-rJP/strings.xml
+++ b/app/src/main/res/values-ja-rJP/strings.xml
@@ -976,5 +976,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 2557fcd28..faba804f0 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -976,5 +976,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml
index d5eb8d2fe..c9262f925 100644
--- a/app/src/main/res/values-zh-rHK/strings.xml
+++ b/app/src/main/res/values-zh-rHK/strings.xml
@@ -973,5 +973,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 34698cecd..0334fd0ab 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -975,5 +975,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml
index a6b6d27a9..f522e28bc 100644
--- a/app/src/main/res/values-zh/strings.xml
+++ b/app/src/main/res/values-zh/strings.xml
@@ -975,5 +975,6 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index d8ec067af..4468bf740 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -976,6 +976,7 @@
是否确认换源
输入验证码
验证码
+ 超时毫秒数