diff --git a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt index 2d161b010..5169640e4 100644 --- a/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt +++ b/app/src/main/java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt @@ -1,5 +1,6 @@ package io.legado.app.ui.replacerule +import android.app.Activity import android.os.Bundle import android.view.Menu import android.view.MenuItem @@ -42,6 +43,7 @@ class ReplaceRuleActivity : VMBaseActivity(R.layout.activi initSearchView() observeReplaceRuleData() observeGroupData() + setResult(Activity.RESULT_OK) } override fun onCompatCreateOptionsMenu(menu: Menu): Boolean {