mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-18 05:58:30 +00:00
Added back button for ModuleFragment when displaying filter
This commit is contained in:
parent
51402e68d2
commit
bb9c362bab
@ -33,8 +33,11 @@ class ModuleFragment : BaseUIFragment<ModuleViewModel, FragmentModuleMd2Binding>
|
||||
get() = binding.moduleFilter.isVisible
|
||||
set(value) {
|
||||
if (!value) hideKeyboard()
|
||||
(activity as? MainActivity)?.requestNavigationHidden(value)
|
||||
MotionRevealHelper.withViews(binding.moduleFilter, binding.moduleFilterToggle, value)
|
||||
with(activity as MainActivity) {
|
||||
requestNavigationHidden(value)
|
||||
setDisplayHomeAsUpEnabled(value)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user