Skip to content

Commit

Permalink
Update SampleApp/MainPage.xaml.cs
Browse files Browse the repository at this point in the history
Co-authored-by: MartyIX <[email protected]>
  • Loading branch information
dotMorten and MartyIX authored Oct 19, 2023
1 parent 377a6a0 commit 3fd862b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SampleApp/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public string Category
{
var name = PageType.Namespace.Substring(PageType.Namespace.LastIndexOf('.') + 1);
if (name.EndsWith("Samples"))
name = name.Substring(0, name.Length - 7);
name = name[..^7];
return name;
}
}
Expand Down

0 comments on commit 3fd862b

Please sign in to comment.