From 5cfad9b229f04a4642def6cf0ca922a746b11797 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 15 Sep 2021 15:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/group/GroupSelectDialog.kt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt b/app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt index e47125ecd..ffe3a3836 100644 --- a/app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt @@ -7,7 +7,6 @@ import android.view.MenuItem import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.Toolbar -import androidx.fragment.app.FragmentManager import androidx.fragment.app.viewModels import androidx.recyclerview.widget.ItemTouchHelper import androidx.recyclerview.widget.LinearLayoutManager @@ -42,18 +41,6 @@ class GroupSelectDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickListene } } - companion object { - const val tag = "groupSelectDialog" - - fun show(manager: FragmentManager, groupId: Long, requestCode: Int = -1) { - manager.showDialog { - putLong("groupId", groupId) - putInt("requestCode", requestCode) - } - } - - } - private val binding by viewBinding(DialogBookGroupPickerBinding::bind) private var requestCode: Int = -1 private val viewModel: GroupViewModel by viewModels()