Use watchlist-progressive icon for WatchlistChangePresentationModel

Bug: T203941
Change-Id: I8c252c5a48296fd47f0e30462a9771baf7fd7804
This commit is contained in:
Kosta Harlan 2022-05-11 13:51:52 +02:00
parent d8fc0cfc18
commit 0abeb2bfeb
No known key found for this signature in database
GPG key ID: BC3D8915606A5ED9
4 changed files with 21 additions and 2 deletions

View file

@ -704,6 +704,12 @@
},
"EchoNotificationIcons": {
"value": {
"watchlist-progressive": {
"path": {
"ltr": "Echo/modules/icons/watchlist-ltr-progressive.svg",
"rtl": "Echo/modules/icons/watchlist-rtl-progressive.svg"
}
},
"placeholder": {
"path": "Echo/modules/icons/notice.svg"
},

View file

@ -3,8 +3,7 @@
class EchoWatchlistChangePresentationModel extends EchoEventPresentationModel {
public function getIconType() {
// @todo create an icon to use here
return 'placeholder';
return 'watchlist-progressive';
}
public function getHeaderMessage() {

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
<title>
watchlist
</title><g fill="#36c">
<path d="M1 3h16v2H1V3Zm0 6h6v2H1V9Zm0 6h8v2H1v-2Zm8-4.24h3.85L14.5 7l1.65 3.76H20l-3 3.17.9 4.05-3.4-2.14L11.1 18l.9-4.05-3-3.19Z"/>
</g></svg>

After

Width:  |  Height:  |  Size: 315 B

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
<title>
watchlist
</title><g fill="#36c">
<path d="M19 3H3v2h16zm0 6h-6v2h6zm0 6h-8v2h8zm-8-4.24H7.15L5.5 7l-1.65 3.76H0l3 3.17-.9 4.05 3.4-2.14L8.9 18 8 13.95Z"/>
</g></svg>

After

Width:  |  Height:  |  Size: 303 B