remove a searchMenuItem check
This commit is contained in:
parent
85123940e4
commit
c1871ad27a
|
@ -88,7 +88,6 @@ class MainActivity : SimpleActivity(), NavigationListener, RefreshRecyclerViewLi
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
appLaunched()
|
appLaunched()
|
||||||
calendar_fab.setOnClickListener { launchNewEventIntent() }
|
|
||||||
checkWhatsNewDialog()
|
checkWhatsNewDialog()
|
||||||
|
|
||||||
if (resources.getBoolean(R.bool.portrait_only))
|
if (resources.getBoolean(R.bool.portrait_only))
|
||||||
|
@ -121,6 +120,7 @@ class MainActivity : SimpleActivity(), NavigationListener, RefreshRecyclerViewLi
|
||||||
refreshCalDAVCalendars(false)
|
refreshCalDAVCalendars(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
calendar_fab.setOnClickListener { launchNewEventIntent() }
|
||||||
checkOpenIntents()
|
checkOpenIntents()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,9 +176,7 @@ class MainActivity : SimpleActivity(), NavigationListener, RefreshRecyclerViewLi
|
||||||
findItem(R.id.refresh_caldav_calendars).isVisible = config.caldavSync
|
findItem(R.id.refresh_caldav_calendars).isVisible = config.caldavSync
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSearchMenuItem == null) {
|
setupSearch(menu)
|
||||||
setupSearch(menu)
|
|
||||||
}
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue