File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace Flow.Launcher.ViewModel
15
15
public class ResultViewModel : BaseModel
16
16
{
17
17
private static PrivateFontCollection fontCollection = new ( ) ;
18
- private static Dictionary < string , string > fonts = new ( ) ;
18
+ private static Dictionary < string , string > fonts = new ( ) ;
19
19
20
20
public ResultViewModel ( Result result , Settings settings )
21
21
{
@@ -173,7 +173,7 @@ private async Task LoadImageAsync()
173
173
}
174
174
175
175
// We need to modify the property not field here to trigger the OnPropertyChanged event
176
- var i = await Task . Run ( async ( ) => await ImageLoader . LoadAsync ( imagePath , loadFullImage ) ) ;
176
+ var i = await ImageLoader . LoadAsync ( imagePath , loadFullImage ) ;
177
177
Image = i ;
178
178
}
179
179
You can’t perform that action at this time.
0 commit comments