@@ -22,7 +22,7 @@ namespace SmartImage.Core
2222 /// <summary>
2323 /// Handles the main menu interface
2424 /// </summary>
25- public static class MainDialog
25+ internal static class MainDialog
2626 {
2727 #region Colors
2828
@@ -41,10 +41,13 @@ public static class MainDialog
4141
4242 internal static string ToToggleString ( this bool b ) => b ? Enabled : Disabled ;
4343
44- private static string GetFilterName ( bool added ) => GetName ( "Filter" , added ) ;
45- private static string GetNotificationName ( bool added ) => GetName ( "Notification" , added ) ;
44+ private static string GetFilterName ( bool added ) => GetName ( "Filter" , added ) ;
45+
46+ private static string GetNotificationName ( bool added ) => GetName ( "Notification" , added ) ;
47+
4648 private static string GetNotificationImageName ( bool added ) => GetName ( "Notification image" , added ) ;
47- private static string GetName ( string s , bool added ) => $ "{ s } ({ ( added . ToToggleString ( ) ) } )";
49+
50+ private static string GetName ( string s , bool added ) => $ "{ s } ({ ( added . ToToggleString ( ) ) } )";
4851
4952
5053 private static string GetContextMenuName ( bool added ) => GetName ( "Context menu" , added ) ;
@@ -141,7 +144,7 @@ public static class MainDialog
141144 Name = GetContextMenuName ( OSIntegration . IsContextMenuAdded ) ,
142145 Function = ( ) =>
143146 {
144- var added = OSIntegration . IsContextMenuAdded ;
147+ bool added = OSIntegration . IsContextMenuAdded ;
145148
146149 OSIntegration . HandleContextMenu ( added ? IntegrationOption . Remove : IntegrationOption . Add ) ;
147150
@@ -184,10 +187,7 @@ public static class MainDialog
184187 var di = new DirectoryInfo ( Info . ExeLocation ) ;
185188
186189 Console . WriteLine ( $ "Executable location: { di . Parent . Name } ") ;
187-
188190 Console . WriteLine ( $ "In path: { Info . IsAppFolderInPath } ") ;
189- Console . WriteLine ( $ "Context menu added: { OSIntegration . IsContextMenuAdded } ") ;
190-
191191
192192 Console . WriteLine ( ) ;
193193 Console . WriteLine ( Strings . Separator ) ;
@@ -208,7 +208,7 @@ public static class MainDialog
208208 Function = ( ) =>
209209 {
210210 UpdateInfo . AutoUpdate ( ) ;
211-
211+
212212
213213 return null ;
214214 }
0 commit comments