Skip to content

Commit 6353960

Browse files
committed
fix: clicking Open in Browser context menu item of issue link does not work (#651)
Signed-off-by: leo <[email protected]>
1 parent 2f628b0 commit 6353960

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Views/CommitMessagePresenter.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,8 @@ protected override void OnPointerPressed(PointerPressedEventArgs e)
190190
open.Icon = App.CreateMenuIcon("Icons.OpenWith");
191191
open.Click += (_, ev) =>
192192
{
193+
Native.OS.OpenBrowser(link);
193194
ev.Handled = true;
194-
195-
var parentView = this.FindAncestorOfType<CommitBaseInfo>();
196-
if (parentView is { DataContext: ViewModels.CommitDetail detail })
197-
detail.NavigateTo(link);
198195
};
199196

200197
var copy = new MenuItem();

0 commit comments

Comments
 (0)