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({
name: globalize.translate('AddToCollection'),
id: 'addtocollection',
ironIcon: 'add'
icon: 'add'
});
menuItems.push({
name: globalize.translate('AddToPlaylist'),
id: 'playlist',
ironIcon: 'playlist-add'
icon: 'playlist_add'
});
// TODO: Be more dynamic based on what is selected
@ -206,7 +206,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({
name: globalize.translate('Delete'),
id: 'delete',
ironIcon: 'delete'
icon: 'delete'
});
}
@ -214,7 +214,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({
name: Globalize.translate('ButtonDownload'),
id: 'download',
ironIcon: 'file-download'
icon: 'file_download'
});
}
@ -222,7 +222,7 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
menuItems.push({
name: globalize.translate('GroupVersions'),
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({
name: globalize.translate("Edit"),
id: "open",
ironIcon: "mode-edit"
icon: "mode_edit"
}), canDelete(deviceId) && menuItems.push({
name: globalize.translate("Delete"),
id: "delete",
ironIcon: "delete"
icon: "delete"
}), require(["actionsheet"], function(actionsheet) {
actionsheet.show({
items: menuItems,

View File

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

View File

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