Skip to content

Commit 56d2ffa

Browse files
committed
feat: normal toolbar not reachable via keyboard when in multiselection mode, just action mode toolbar
1 parent e1af32c commit 56d2ffa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt

+4
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,8 @@ class MainFileListFragment : Fragment(),
13491349
setDrawerStatus(enabled = false)
13501350
actionMode = mode
13511351

1352+
requireActivity().findViewById<View>(R.id.owncloud_app_bar).isFocusableInTouchMode = false
1353+
13521354
val inflater = requireActivity().menuInflater
13531355
inflater.inflate(R.menu.file_actions_menu, menu)
13541356
this@MainFileListFragment.menu = menu
@@ -1421,6 +1423,8 @@ class MainFileListFragment : Fragment(),
14211423
setDrawerStatus(enabled = true)
14221424
actionMode = null
14231425

1426+
requireActivity().findViewById<View>(R.id.owncloud_app_bar).isFocusableInTouchMode = true
1427+
14241428
// reset to previous color
14251429
requireActivity().window.statusBarColor = statusBarColor!!
14261430

0 commit comments

Comments
 (0)