Skip to content

Commit

Permalink
Clear selection after opening shares screen
Browse files Browse the repository at this point in the history
abelgardep committed Aug 17, 2022
1 parent 0967173 commit 36f8855
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -445,10 +445,14 @@ class MainFileListFragment : Fragment(),
when (menuId) {
R.id.action_share_file -> {
fileActions?.onShareFileClicked(singleFile)
fileListAdapter.clearSelection()
updateActionModeAfterTogglingSelected()
return true
}
R.id.action_open_file_with -> {
fileActions?.openFile(singleFile)
fileListAdapter.clearSelection()
updateActionModeAfterTogglingSelected()
return true
}
R.id.action_rename_file -> {

0 comments on commit 36f8855

Please sign in to comment.