mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-02 05:28:32 -05:00
reordering some lines
This commit is contained in:
@@ -137,8 +137,8 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
override fun onPrepareOptionsMenu(menu: Menu?): Boolean {
|
||||
val favorites = config.favorites
|
||||
val currentFragment = getCurrentFragment() ?: return true
|
||||
val favorites = config.favorites
|
||||
|
||||
menu!!.apply {
|
||||
findItem(R.id.search).isVisible = currentFragment is ItemsFragment
|
||||
|
||||
Reference in New Issue
Block a user