mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-13 02:11:07 -04:00
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
|
||||
binding.toolbar.apply {
|
||||
inflateMenu(R.menu.menu_import_export)
|
||||
|
||||
// TODO: Add support for batch install
|
||||
menu.findItem(R.id.action_import).isEnabled = false
|
||||
|
||||
setNavigationOnClickListener { findNavController().navigateUp() }
|
||||
setOnMenuItemClickListener {
|
||||
when (it.itemId) {
|
||||
|
||||
Reference in New Issue
Block a user