Skip to content

Commit

Permalink
fix(feeds): Add safety check on FV.Refresh command to avoid double re…
Browse files Browse the repository at this point in the history
…fresh
  • Loading branch information
dr1rrb committed Jun 14, 2022
1 parent 226f6a0 commit 15ec6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.Extensions.Reactive.UI/View/FeedView.Refresh.cs
Expand Up @@ -49,7 +49,7 @@ public bool CanExecute(object? parameter)
/// <inheritdoc />
public void Execute(object? parameter)
{
if (_view._subscription is { } subscription)
if (CanExecute(parameter) && _view._subscription is { } subscription)
{
IsExecuting = true;
// We must make sure to run on a background thread to send requests
Expand Down

0 comments on commit 15ec6b6

Please sign in to comment.