mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Update AppListItem.cs
This commit is contained in:
@@ -15,8 +15,6 @@ namespace Microsoft.CmdPal.Ext.Apps.Programs;
|
|||||||
|
|
||||||
public sealed partial class AppListItem : ListItem
|
public sealed partial class AppListItem : ListItem
|
||||||
{
|
{
|
||||||
private static readonly Tag _appTag = new("App");
|
|
||||||
|
|
||||||
private readonly AppCommand _appCommand;
|
private readonly AppCommand _appCommand;
|
||||||
private readonly AppItem _app;
|
private readonly AppItem _app;
|
||||||
private readonly Lazy<Details> _details;
|
private readonly Lazy<Details> _details;
|
||||||
@@ -48,7 +46,6 @@ public sealed partial class AppListItem : ListItem
|
|||||||
_app = app;
|
_app = app;
|
||||||
Title = app.Name;
|
Title = app.Name;
|
||||||
Subtitle = app.Subtitle;
|
Subtitle = app.Subtitle;
|
||||||
Tags = [_appTag];
|
|
||||||
Icon = Icons.GenericAppIcon;
|
Icon = Icons.GenericAppIcon;
|
||||||
|
|
||||||
MoreCommands = AddPinCommands(_app.Commands!, isPinned);
|
MoreCommands = AddPinCommands(_app.Commands!, isPinned);
|
||||||
|
|||||||
Reference in New Issue
Block a user