Skip to content

Commit fb3a23f

Browse files
committed
remove unnecessary local variable
1 parent 303d3b9 commit fb3a23f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher/ViewModel/ResultViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ private async Task LoadImageAsync()
173173
}
174174

175175
// We need to modify the property not field here to trigger the OnPropertyChanged event
176-
var i = await ImageLoader.LoadAsync(imagePath, loadFullImage);
177-
Image = i;
176+
Image = await ImageLoader.LoadAsync(imagePath, loadFullImage).ConfigureAwait(false);
178177
}
179178

180179
public Result Result { get; }

0 commit comments

Comments
 (0)