Skip to content

Commit

Permalink
Fix the button to open Store page
Browse files Browse the repository at this point in the history
The button to open the Store page was always active, regardless of whether the package was from store or from side-loading.
  • Loading branch information
marcinotorowski committed Apr 30, 2021
1 parent 6e94350 commit bb7ef0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ private async void OnRemovePackage()

private bool CanRemovePackage() => this.IsAnySelected();

private bool CanOpenStore() => this.IsSingleSelected();
private bool CanOpenStore() => this.IsSingleSelected() && this.application.ApplicationState.Packages.SelectedPackages.FirstOrDefault()?.SignatureKind == SignatureKind.Store;

private bool CanOpenPsfConfig()
{
Expand Down

0 comments on commit bb7ef0f

Please sign in to comment.