From 10a0441b61a871cbfb41fe48f0b6fc3d3b98327b Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 4 Dec 2019 13:59:01 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/replacerule/ReplaceRuleActivity.kt | 2 ++ 1 file changed, 2 insertions(+) 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 {