Skip to content

Commit

Permalink
revert calling command on menu tap
Browse files Browse the repository at this point in the history
  • Loading branch information
insomniachi committed May 9, 2023
1 parent e272471 commit 0f69f4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Totoro.WinUI/Helpers/Converters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public static MenuFlyout AnimeToFlyout(AnimeModel anime)
CommandParameter = (anime, item.Name)
});
}
scrapersFlyoutItem.Tapped += (_, _) => App.Commands.Watch.Execute(anime);
flyout.Items.Add(scrapersFlyoutItem);


Expand All @@ -111,7 +110,6 @@ public static MenuFlyout AnimeToFlyout(AnimeModel anime)
Text = @"Search Torrents",
Icon = new SymbolIcon { Symbol = Symbol.Globe },
};
torrentFlyoutItem.Tapped += (_, _) => App.Commands.SearchTorrent.Execute(anime);

foreach (var item in Enum.GetValues<TorrentProviderType>().Cast<TorrentProviderType>())
{
Expand Down

0 comments on commit 0f69f4b

Please sign in to comment.