update icon

This commit is contained in:
grafixeyehero 2019-05-17 21:29:31 +03:00
parent f2ef23c9a8
commit 7e0100ef3f
4 changed files with 5 additions and 9 deletions

View file

@ -1572,7 +1572,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
return '<i class="cardImageIcon md-icon">&#xe333;</i>'; return '<i class="cardImageIcon md-icon">&#xe333;</i>';
} }
if (collectionType === 'homevideos' || collectionType === 'photos') { if (collectionType === 'homevideos' || collectionType === 'photos') {
return '<i class="cardImageIcon md-icon">&#xe071;</i>'; return '<i class="cardImageIcon md-icon">&#xe413;</i>';
} }
if (collectionType === 'music') { if (collectionType === 'music') {
return '<i class="cardImageIcon md-icon">&#xE310;</i>'; return '<i class="cardImageIcon md-icon">&#xE310;</i>';

View file

@ -216,7 +216,7 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
icon = "local_movies"; icon = "local_movies";
break; break;
case "homevideos": case "homevideos":
icon = "video_label"; icon = "photo_library";
break; break;
case "musicvideos": case "musicvideos":
icon = "music_video"; icon = "music_video";

View file

@ -232,7 +232,7 @@ define(["jQuery", "apphost", "scripts/taskbutton", "loading", "libraryMenu", "gl
case "trailers": case "trailers":
return "local_movies"; return "local_movies";
case "homevideos": case "homevideos":
return "video_library"; return "photo_library";
case "musicvideos": case "musicvideos":
return "video_library"; return "video_library";
case "books": case "books":

View file

@ -534,10 +534,6 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("livetv" === i.CollectionType) { else if ("livetv" === i.CollectionType) {
itemId = "livetv"; itemId = "livetv";
} }
else if ("photos" === i.CollectionType) {
icon = "photo_library";
}
else if ("music" === i.CollectionType) { else if ("music" === i.CollectionType) {
icon = "library_music"; icon = "library_music";
} }
@ -553,8 +549,8 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("movies" === i.CollectionType) { else if ("movies" === i.CollectionType) {
icon = "video_library"; icon = "video_library";
} }
else if ("homevideos" === i.CollectionType) { else if ("homevideos" === i.CollectionType || "photos" === i.CollectionType) {
icon = "video_label"; icon = "photo_library";
} }
else if ("channels" === i.CollectionType || "Channel" === i.Type) { else if ("channels" === i.CollectionType || "Channel" === i.Type) {
icon = "videocam"; icon = "videocam";