Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 726a0d4

Browse files
Merge branch 'master' into donokuda/not-delete-nooooooo
2 parents 53cee1b + 05fb6e1 commit 726a0d4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/GitHub.App/ViewModels/GitHubPane/IssueListViewModelBase.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,7 @@ void FilterChanged()
246246
{
247247
numberFilter = 0;
248248

249-
if (SearchQuery.StartsWith('#'))
250-
{
251-
int.TryParse(SearchQuery.Substring(1), out numberFilter);
252-
}
249+
int.TryParse(SearchQuery.Substring(SearchQuery.StartsWith('#') ? 1 : 0), out numberFilter);
253250

254251
if (numberFilter == 0)
255252
{

src/GitHub.InlineReviews/Views/CommentView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
Height="16"
5757
Account="{Binding Author}"/>
5858

59-
<TextBlock Foreground="{DynamicResource GitHubVsToolWindowText}" FontWeight="Bold" Text="{Binding User.Login}" Margin="4 0"/>
59+
<TextBlock Foreground="{DynamicResource GitHubVsToolWindowText}" FontWeight="Bold" Text="{Binding Author.Login}" Margin="4 0"/>
6060
<ui:GitHubActionLink Content="{Binding UpdatedAt, Converter={ui:DurationToStringConverter}}"
6161
Command="{Binding OpenOnGitHub}"
6262
Foreground="{DynamicResource GitHubVsToolWindowText}"

0 commit comments

Comments
 (0)