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

Use "showTemporary" instead of explicitly hiding the notification



"OC.Notification.hide" expects the notification to be hidden to be
passed as an argument. As it was being used to show a temporary
notification the combination of "OC.Notification.show" and
"OC.Notification.hide" was replaced by a single call to
"OC.Notification.showTemporary".

The timeout could have been specified in the options of the call, but it
was left to the default value (7 seconds) for consistency with other
notifications.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent fcef15af
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