Skip to content

Commit 70ea6a8

Browse files
committed
Remove Icon X & Y hard coded dependency
1 parent 239c9d7 commit 70ea6a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Flow.Launcher/ResultListBox.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
BorderThickness="0">
8383
<Image
8484
x:Name="ImageIcon"
85-
Width="32"
86-
Height="32"
85+
Width="{Binding IconXY}"
86+
Height="{Binding IconXY}"
8787
Margin="0,0,0,0"
8888
HorizontalAlignment="Center"
8989
Source="{Binding Image, TargetNullValue={x:Null}}"

Flow.Launcher/ViewModel/ResultViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ private async ValueTask LoadImageAsync()
165165

166166
public string QuerySuggestionText { get; set; }
167167

168+
public double IconXY { get; set; } = 32;
169+
168170
public override bool Equals(object obj)
169171
{
170172
return obj is ResultViewModel r && Result.Equals(r.Result);

0 commit comments

Comments
 (0)