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
1919 public static readonly string RootDirectory = Directory . GetParent ( ApplicationDirectory ) . ToString ( ) ;
2020
2121 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" ;
2323 public static readonly string Version = FileVersionInfo . GetVersionInfo ( Assembly . Location . NonNull ( ) ) . ProductVersion ;
2424 public static readonly string Dev = "Dev" ;
2525 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)
2323 SetException ( exception ) ;
2424 }
2525
26- private static string GetIssueUrl ( string website )
26+ private static string GetIssuesUrl ( string website )
2727 {
2828 if ( ! website . StartsWith ( "https://github.com" ) )
2929 {
3030 return website ;
3131 }
3232 if ( website . Contains ( "Flow-Launcher/Flow.Launcher" ) )
3333 {
34- return Constant . Issue ;
34+ return Constant . IssuesUrl ;
3535 }
3636 var treeIndex = website . IndexOf ( "tree" , StringComparison . Ordinal ) ;
3737 return treeIndex == - 1 ? $ "{ website } /issues" : $ "{ website [ ..treeIndex ] } /issues";
@@ -45,8 +45,8 @@ private void SetException(Exception exception)
4545
4646 var websiteUrl = exception switch
4747 {
48- FlowPluginException pluginException => GetIssueUrl ( pluginException . Metadata . Website ) ,
49- _ => Constant . Issue
48+ FlowPluginException pluginException => GetIssuesUrl ( pluginException . Metadata . Website ) ,
49+ _ => Constant . IssuesUrl
5050 } ;
5151
5252
You can’t perform that action at this time.
0 commit comments