fix: add notification icon for transfer ownership
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-move" viewBox="0 0 24 24"><path d="M14,18V15H10V11H14V8L19,13M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z" /></svg>
|
||||
|
After Width: | Height: | Size: 219 B |
@@ -76,6 +76,10 @@ class Notifier implements INotifier, IDismissableNotifier {
|
||||
throw new UnknownNotificationException('Unhandled app');
|
||||
}
|
||||
|
||||
$imagePath = $this->urlGenerator->imagePath('files', 'folder-move.svg');
|
||||
$iconUrl = $this->urlGenerator->getAbsoluteURL($imagePath);
|
||||
$notification->setIcon($iconUrl);
|
||||
|
||||
return match($notification->getSubject()) {
|
||||
'transferownershipRequest' => $this->handleTransferownershipRequest($notification, $languageCode),
|
||||
'transferownershipRequestDenied' => $this->handleTransferOwnershipRequestDenied($notification, $languageCode),
|
||||
|
||||
Reference in New Issue
Block a user