change ironicon to icon

This commit is contained in:
grafixeyehero 2019-11-05 18:24:39 +03:00
parent d3c3501632
commit faa1a263b9
4 changed files with 14 additions and 14 deletions

View File

@ -192,13 +192,13 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({ menuItems.push({
name: globalize.translate('AddToCollection'), name: globalize.translate('AddToCollection'),
id: 'addtocollection', id: 'addtocollection',
ironIcon: 'add' icon: 'add'
}); });
menuItems.push({ menuItems.push({
name: globalize.translate('AddToPlaylist'), name: globalize.translate('AddToPlaylist'),
id: 'playlist', id: 'playlist',
ironIcon: 'playlist-add' icon: 'playlist_add'
}); });
// TODO: Be more dynamic based on what is selected // TODO: Be more dynamic based on what is selected
@ -206,7 +206,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({ menuItems.push({
name: globalize.translate('Delete'), name: globalize.translate('Delete'),
id: 'delete', id: 'delete',
ironIcon: 'delete' icon: 'delete'
}); });
} }
@ -214,7 +214,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({ menuItems.push({
name: Globalize.translate('ButtonDownload'), name: Globalize.translate('ButtonDownload'),
id: 'download', id: 'download',
ironIcon: 'file-download' icon: 'file_download'
}); });
} }
@ -222,7 +222,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({ menuItems.push({
name: globalize.translate('GroupVersions'), name: globalize.translate('GroupVersions'),
id: 'groupvideos', id: 'groupvideos',
ironIcon: 'call-merge' icon: 'call_merge'
}); });
} }

View File

@ -31,11 +31,11 @@ define(["loading", "dom", "libraryMenu", "globalize", "scripts/imagehelper", "hu
canEdit && menuItems.push({ canEdit && menuItems.push({
name: globalize.translate("Edit"), name: globalize.translate("Edit"),
id: "open", id: "open",
ironIcon: "mode-edit" icon: "mode_edit"
}), canDelete(deviceId) && menuItems.push({ }), canDelete(deviceId) && menuItems.push({
name: globalize.translate("Delete"), name: globalize.translate("Delete"),
id: "delete", id: "delete",
ironIcon: "delete" icon: "delete"
}), require(["actionsheet"], function(actionsheet) { }), require(["actionsheet"], function(actionsheet) {
actionsheet.show({ actionsheet.show({
items: menuItems, items: menuItems,

View File

@ -107,13 +107,13 @@ define(["loading", "libraryMenu", "dom", "globalize", "cardStyle", "emby-button"
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonSettings"), name: globalize.translate("ButtonSettings"),
id: "open", id: "open",
ironIcon: "mode-edit" icon: "mode_edit"
}); });
} }
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonUninstall"), name: globalize.translate("ButtonUninstall"),
id: "delete", id: "delete",
ironIcon: "delete" icon: "delete"
}); });
require(["actionsheet"], function(actionsheet) { require(["actionsheet"], function(actionsheet) {
actionsheet.show({ actionsheet.show({

View File

@ -27,22 +27,22 @@ define(["loading", "dom", "globalize", "humanedate", "paper-icon-button-light",
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonOpen"), name: globalize.translate("ButtonOpen"),
id: "open", id: "open",
ironIcon: "mode-edit" icon: "mode_edit"
}); });
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonLibraryAccess"), name: globalize.translate("ButtonLibraryAccess"),
id: "access", id: "access",
ironIcon: "lock" icon: "lock"
}); });
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonParentalControl"), name: globalize.translate("ButtonParentalControl"),
id: "parentalcontrol", id: "parentalcontrol",
ironIcon: "person" icon: "person"
}); });
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonDelete"), name: globalize.translate("ButtonDelete"),
id: "delete", id: "delete",
ironIcon: "delete" icon: "delete"
}); });
require(["actionsheet"], function (actionsheet) { require(["actionsheet"], function (actionsheet) {
@ -149,7 +149,7 @@ define(["loading", "dom", "globalize", "humanedate", "paper-icon-button-light",
menuItems.push({ menuItems.push({
name: globalize.translate("ButtonCancel"), name: globalize.translate("ButtonCancel"),
id: "delete", id: "delete",
ironIcon: "delete" icon: "delete"
}); });
require(["actionsheet"], function (actionsheet) { require(["actionsheet"], function (actionsheet) {