mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Fixed exception preventing result display
This commit is contained in:
@@ -443,7 +443,7 @@
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Image x:Name="AppIcon" Height="36" Margin="8,0,0,0" Grid.RowSpan="2" HorizontalAlignment="Left" />
|
||||
<Image x:Name="AppIcon" Height="36" Margin="8,0,0,0" Grid.RowSpan="2" HorizontalAlignment="Left" Source="{Binding Image}"/>
|
||||
<TextBlock x:Name="Title" Grid.Column="1" Text="{Binding Result.Title}" FontWeight="SemiBold" FontSize="20" VerticalAlignment="Bottom"/>
|
||||
<TextBlock x:Name="Path" Grid.Column="1" Text="C:\Program Files\WindowsApps\Microsoft\Folder " Grid.Row="1" Opacity="0.6" VerticalAlignment="Top"/>
|
||||
<StackPanel Orientation="Horizontal" Opacity="0" HorizontalAlignment="Right" Grid.RowSpan="2" Grid.Column="1">
|
||||
|
||||
@@ -24,33 +24,6 @@ namespace PowerLauncher.UI
|
||||
{
|
||||
this.InitializeComponent();
|
||||
ShellBarShadow.Receivers.Add(ShadowReceiverGrid);
|
||||
SearchResults = new List<SearchApp>
|
||||
{
|
||||
new SearchApp() { Title = "Calendar", Icon = "ms-appx:///Assets/Images/Calendar.png" },
|
||||
new SearchApp() { Title = "Camera", Icon = "ms-appx:///Assets/Images/Camera.png" },
|
||||
new SearchApp() { Title = "Excel", Icon = "ms-appx:///Assets/Images/Excel.png" },
|
||||
new SearchApp() { Title = "Feedback", Icon = "ms-appx:///Assets/Images/Feedback.png" },
|
||||
new SearchApp() { Title = "File Explorer", Icon = "ms-appx:///Assets/Images/FileExplorer.png" },
|
||||
new SearchApp() { Title = "Groove", Icon = "ms-appx:///Assets/Images/Groove.png" },
|
||||
new SearchApp() { Title = "Mail", Icon = "ms-appx:///Assets/Images/Mail.png" },
|
||||
new SearchApp() { Title = "Mobile", Icon = "ms-appx:///Assets/Images/Mobile.png" },
|
||||
new SearchApp() { Title = "Movies", Icon = "ms-appx:///Assets/Images/Movies.png" },
|
||||
new SearchApp() { Title = "OneDrive", Icon = "ms-appx:///Assets/Images/OneDrive.png" },
|
||||
new SearchApp() { Title = "OneNote", Icon = "ms-appx:///Assets/Images/OneNote.png" },
|
||||
new SearchApp() { Title = "Outlook", Icon = "ms-appx:///Assets/Images/Outlook.png" },
|
||||
new SearchApp() { Title = "Photos", Icon = "ms-appx:///Assets/Images/Photos.png" },
|
||||
new SearchApp() { Title = "PowerPoint", Icon = "ms-appx:///Assets/Images/PowerPoint.png" },
|
||||
new SearchApp() { Title = "PowerToys", Icon = "ms-appx:///Assets/Images/PowerToysIcon.png" },
|
||||
new SearchApp() { Title = "Screen Sketch", Icon = "ms-appx:///Assets/Images/ScreenSketch.png" },
|
||||
new SearchApp() { Title = "SharePoint", Icon = "ms-appx:///Assets/Images/SharePoint.png" },
|
||||
new SearchApp() { Title = "Skype", Icon = "ms-appx:///Assets/Images/Skype.png" },
|
||||
new SearchApp() { Title = "Solitaire", Icon = "ms-appx:///Assets/Images/Solitaire.png" },
|
||||
new SearchApp() { Title = "Teams", Icon = "ms-appx:///Assets/Images/Teams.png" },
|
||||
new SearchApp() { Title = "Weather", Icon = "ms-appx:///Assets/Images/Weather.png" },
|
||||
new SearchApp() { Title = "Whiteboard", Icon = "ms-appx:///Assets/Images/Whiteboard.png" },
|
||||
new SearchApp() { Title = "Word", Icon = "ms-appx:///Assets/Images/Word.png" },
|
||||
new SearchApp() { Title = "Yammer", Icon = "ms-appx:///Assets/Images/Yammer.png" }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user