File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Flow.Launcher.Infrastructure Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public static class Constant
19
19
public static readonly string RootDirectory = Directory . GetParent ( ApplicationDirectory ) . ToString ( ) ;
20
20
21
21
public static readonly string PreinstalledDirectory = Path . Combine ( ProgramDirectory , Plugins ) ;
22
- public const string Issue = "https://github.com/Flow-Launcher/Flow.Launcher/issues" ;
22
+ public const string IssuesUrl = "https://github.com/Flow-Launcher/Flow.Launcher/issues" ;
23
23
public static readonly string Version = FileVersionInfo . GetVersionInfo ( Assembly . Location . NonNull ( ) ) . ProductVersion ;
24
24
public static readonly string Dev = "Dev" ;
25
25
public const string Documentation = "https://flowlauncher.com/docs/#/usage-tips" ;
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ public ReportWindow(Exception exception)
23
23
SetException ( exception ) ;
24
24
}
25
25
26
- private static string GetIssueUrl ( string website )
26
+ private static string GetIssuesUrl ( string website )
27
27
{
28
28
if ( ! website . StartsWith ( "https://github.com" ) )
29
29
{
30
30
return website ;
31
31
}
32
32
if ( website . Contains ( "Flow-Launcher/Flow.Launcher" ) )
33
33
{
34
- return Constant . Issue ;
34
+ return Constant . IssuesUrl ;
35
35
}
36
36
var treeIndex = website . IndexOf ( "tree" , StringComparison . Ordinal ) ;
37
37
return treeIndex == - 1 ? $ "{ website } /issues" : $ "{ website [ ..treeIndex ] } /issues";
@@ -45,8 +45,8 @@ private void SetException(Exception exception)
45
45
46
46
var websiteUrl = exception switch
47
47
{
48
- FlowPluginException pluginException => GetIssueUrl ( pluginException . Metadata . Website ) ,
49
- _ => Constant . Issue
48
+ FlowPluginException pluginException => GetIssuesUrl ( pluginException . Metadata . Website ) ,
49
+ _ => Constant . IssuesUrl
50
50
} ;
51
51
52
52
You can’t perform that action at this time.
0 commit comments