mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-03-10 08:30:10 +01:00
reordering some lines
This commit is contained in:
parent
02a26c1a85
commit
4309687242
@ -137,8 +137,8 @@ class MainActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onPrepareOptionsMenu(menu: Menu?): Boolean {
|
override fun onPrepareOptionsMenu(menu: Menu?): Boolean {
|
||||||
val favorites = config.favorites
|
|
||||||
val currentFragment = getCurrentFragment() ?: return true
|
val currentFragment = getCurrentFragment() ?: return true
|
||||||
|
val favorites = config.favorites
|
||||||
|
|
||||||
menu!!.apply {
|
menu!!.apply {
|
||||||
findItem(R.id.search).isVisible = currentFragment is ItemsFragment
|
findItem(R.id.search).isVisible = currentFragment is ItemsFragment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user