AppsGamesFragment: Disable import button untill supported
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -80,6 +80,10 @@ class AppsGamesFragment : BaseFragment<FragmentGenericWithSearchBinding>() {
|
|||||||
// Toolbar
|
// Toolbar
|
||||||
binding.toolbar.apply {
|
binding.toolbar.apply {
|
||||||
inflateMenu(R.menu.menu_import_export)
|
inflateMenu(R.menu.menu_import_export)
|
||||||
|
|
||||||
|
// TODO: Add support for batch install
|
||||||
|
menu.findItem(R.id.action_import).isEnabled = false
|
||||||
|
|
||||||
setNavigationOnClickListener { findNavController().navigateUp() }
|
setNavigationOnClickListener { findNavController().navigateUp() }
|
||||||
setOnMenuItemClickListener {
|
setOnMenuItemClickListener {
|
||||||
when (it.itemId) {
|
when (it.itemId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user