From d8b1f60581617c3536e8314d9c6da7b21a444937 Mon Sep 17 00:00:00 2001 From: tatsuya25 <67844862+tatsuya25@users.noreply.github.com> Date: Wed, 8 Jul 2020 00:29:15 +0300 Subject: [PATCH] update BaseController.kt (#3423) --- .../eu/kanade/tachiyomi/ui/base/controller/BaseController.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt index 48e7aa8a3d..eb582377c5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt @@ -64,8 +64,9 @@ abstract class BaseController(bundle: Bundle? = null) : override fun onChangeStarted(handler: ControllerChangeHandler, type: ControllerChangeType) { if (type.isEnter) { setTitle() + setHasOptionsMenu(true) } - setHasOptionsMenu(type.isEnter) + super.onChangeStarted(handler, type) }