Skip to content
Commit 3113ee11 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Hide favourite icon in details view if favourite action is not available



When the favourite icon in the details view is clicked the "Favorite"
action is triggered. However, if the action name given to
"triggerAction" is not found then the "Download" action is triggered
instead. As the "Favorite" action is not available in some file lists
(like "Recents") the "Download" action was executed instead in those
cases, which was a strange behaviour. Now the favourite icon is
hidden if its action is not available.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 68e205e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment