From 6cb73591cf3861c3f00ac89c054f44ab9eb460ec Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 9 Jul 2022 16:46:02 +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 --- .../main/java/io/legado/app/ui/book/read/ReadBookActivity.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index 72ef633c6..cac23296c 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -128,8 +128,6 @@ class ReadBookActivity : BaseReadBookActivity(), } } private var menu: Menu? = null - private var changeSourceMenu: PopupMenu? = null - private var refreshMenu: PopupMenu? = null private var autoPageJob: Job? = null private var backupJob: Job? = null private var keepScreenJon: Job? = null @@ -211,7 +209,6 @@ class ReadBookActivity : BaseReadBookActivity(), inflate(R.menu.book_read_change_source) this.menu.applyOpenTint(this@ReadBookActivity) setOnMenuItemClickListener(this@ReadBookActivity) - changeSourceMenu = this }.show() } menu.iconItemOnLongClick(R.id.menu_refresh) { @@ -219,7 +216,6 @@ class ReadBookActivity : BaseReadBookActivity(), inflate(R.menu.book_read_refresh) this.menu.applyOpenTint(this@ReadBookActivity) setOnMenuItemClickListener(this@ReadBookActivity) - refreshMenu = this }.show() } return super.onCompatCreateOptionsMenu(menu)