mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fix for Warning CA1822 Member 'Hyperlink' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ReportWindow.xaml.cs 45 Active
This commit is contained in:
@@ -42,7 +42,7 @@ namespace PowerLauncher
|
|||||||
ErrorTextbox.Document.Blocks.Add(paragraph);
|
ErrorTextbox.Document.Blocks.Add(paragraph);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Paragraph Hyperlink(string textBeforeUrl, string url)
|
private static Paragraph Hyperlink(string textBeforeUrl, string url)
|
||||||
{
|
{
|
||||||
var paragraph = new Paragraph();
|
var paragraph = new Paragraph();
|
||||||
paragraph.Margin = new Thickness(0);
|
paragraph.Margin = new Thickness(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user