diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/home/MagiskFragment.kt b/app/src/main/java/com/topjohnwu/magisk/ui/home/MagiskFragment.kt index 1725b082e..839ff7d29 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/home/MagiskFragment.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/home/MagiskFragment.kt @@ -1,5 +1,7 @@ package com.topjohnwu.magisk.ui.home +import android.os.Bundle +import android.view.View import com.skoumal.teanity.viewevents.ViewEvent import com.topjohnwu.magisk.BuildConfig import com.topjohnwu.magisk.Config @@ -39,6 +41,11 @@ class MagiskFragment : NewMagiskFragment() } } + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + setHasOptionsMenu(true) + } + private fun installMagisk() { // Show Manager update first if (Config.remoteManagerVersionCode > BuildConfig.VERSION_CODE) {