Skip to content

Commit

Permalink
feat: normal toolbar not reachable via keyboard when in multiselectio…
Browse files Browse the repository at this point in the history
…n mode, just action mode toolbar
  • Loading branch information
JuancaG05 committed Jul 31, 2024
1 parent e1af32c commit 56d2ffa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,8 @@ class MainFileListFragment : Fragment(),
setDrawerStatus(enabled = false)
actionMode = mode

requireActivity().findViewById<View>(R.id.owncloud_app_bar).isFocusableInTouchMode = false

val inflater = requireActivity().menuInflater
inflater.inflate(R.menu.file_actions_menu, menu)
this@MainFileListFragment.menu = menu
Expand Down Expand Up @@ -1421,6 +1423,8 @@ class MainFileListFragment : Fragment(),
setDrawerStatus(enabled = true)
actionMode = null

requireActivity().findViewById<View>(R.id.owncloud_app_bar).isFocusableInTouchMode = true

// reset to previous color
requireActivity().window.statusBarColor = statusBarColor!!

Expand Down

0 comments on commit 56d2ffa

Please sign in to comment.