This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/Light Switch/Light Switch Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ private void SetLight()
49
49
if ( preferences . IsSystemThemeEnabled )
50
50
{
51
51
SetSystemTheme ( true ) ;
52
- NotifyIcon . Icon = Resources . Icon_LightMode ;
53
- }
52
+ NotifyIcon . Icon = Resources . Icon_LightMode ;
53
+ }
54
54
if ( preferences . IsWallpaperEnabled )
55
55
{
56
56
if ( File . Exists ( preferences . LightWallpaperPath ) )
@@ -74,8 +74,8 @@ private void SetDark()
74
74
if ( preferences . IsSystemThemeEnabled )
75
75
{
76
76
SetSystemTheme ( false ) ;
77
- NotifyIcon . Icon = Resources . Icon_DarkMode ;
78
- }
77
+ NotifyIcon . Icon = Resources . Icon_DarkMode ;
78
+ }
79
79
if ( preferences . IsWallpaperEnabled )
80
80
{
81
81
if ( File . Exists ( preferences . DarkWallpaperPath ) )
Original file line number Diff line number Diff line change @@ -102,12 +102,12 @@ public bool Equals(FileInfo x, FileInfo y)
102
102
/// </summary>
103
103
private static string BasePath { get ; } = Path . Combine ( Path . GetTempPath ( ) , "LightSwitch" ) ;
104
104
105
- public static readonly Storage Wallpapers = new ( nameof ( Wallpapers ) ) ;
105
+ public static readonly Storage Wallpapers = new ( nameof ( Wallpapers ) ) ;
106
106
107
- /// <summary>
108
- /// Generates a unique string from current date and time.
109
- /// </summary>
110
- private static string GenerateUniqueString ( )
107
+ /// <summary>
108
+ /// Generates a unique string from current date and time.
109
+ /// </summary>
110
+ private static string GenerateUniqueString ( )
111
111
{
112
112
var now = DateTime . Now ;
113
113
return $ "{ now . Year } { now . Month } { now . Day } { now . Hour } { now . Minute } { now . Second } { now . Millisecond } ";
You can’t perform that action at this time.
0 commit comments