Merge pull request #326 from grafixeyehero/icon

Fix icon
This commit is contained in:
Anthony Lavado
2019-05-23 20:06:23 -04:00
committed by GitHub
5 changed files with 42 additions and 22 deletions
+9 -7
View File
@@ -323,13 +323,13 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
name: globalize.translate("TabLiveTV"),
href: "livetvstatus.html",
pageIds: ["liveTvStatusPage", "liveTvTunerPage"],
icon: "tv"
icon: "live_tv"
});
links.push({
name: globalize.translate("DVR"),
href: "livetvsettings.html",
pageIds: ["liveTvSettingsPage"],
icon: "list"
icon: "dvr"
});
links.push({
divider: true,
@@ -534,13 +534,12 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("livetv" === i.CollectionType) {
itemId = "livetv";
}
else if ("photos" === i.CollectionType) {
icon = "photo_library";
}
else if ("music" === i.CollectionType || "musicvideos" === i.CollectionType) {
else if ("music" === i.CollectionType) {
icon = "library_music";
}
else if ("musicvideos" === i.CollectionType) {
icon = "music_video";
}
else if ("books" === i.CollectionType) {
icon = "library_books";
}
@@ -550,6 +549,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("movies" === i.CollectionType) {
icon = "video_library";
}
else if ("homevideos" === i.CollectionType || "photos" === i.CollectionType) {
icon = "photo_library";
}
else if ("channels" === i.CollectionType || "Channel" === i.Type) {
icon = "videocam";
}