Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop

- New name better reflect the behavior
This commit is contained in:
Hypolite Petovan 2022-11-02 20:28:53 -04:00
parent 891f686dcf
commit fa123bd765
3 changed files with 3 additions and 3 deletions

View file

@ -141,7 +141,7 @@ class Subscription
{
$type = NotificationFactory::getType($notification);
if (DI::notify()->NotifyOnDesktop($notification, $type)) {
if (DI::notify()->shouldShowOnDesktop($notification, $type)) {
DI::notify()->createFromNotification($notification);
}