Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 15716fe

Browse files
committed
fix indent
1 parent 45a0bd9 commit 15716fe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Light Switch/Light Switch/Services/ThemeService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ private void SetLight()
4949
if (preferences.IsSystemThemeEnabled)
5050
{
5151
SetSystemTheme(true);
52-
NotifyIcon.Icon = Resources.Icon_LightMode;
53-
}
52+
NotifyIcon.Icon = Resources.Icon_LightMode;
53+
}
5454
if (preferences.IsWallpaperEnabled)
5555
{
5656
if (File.Exists(preferences.LightWallpaperPath))
@@ -74,8 +74,8 @@ private void SetDark()
7474
if (preferences.IsSystemThemeEnabled)
7575
{
7676
SetSystemTheme(false);
77-
NotifyIcon.Icon = Resources.Icon_DarkMode;
78-
}
77+
NotifyIcon.Icon = Resources.Icon_DarkMode;
78+
}
7979
if (preferences.IsWallpaperEnabled)
8080
{
8181
if (File.Exists(preferences.DarkWallpaperPath))

src/Light Switch/Light Switch/Storage.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ public bool Equals(FileInfo x, FileInfo y)
102102
/// </summary>
103103
private static string BasePath { get; } = Path.Combine(Path.GetTempPath(), "LightSwitch");
104104

105-
public static readonly Storage Wallpapers = new(nameof(Wallpapers));
105+
public static readonly Storage Wallpapers = new(nameof(Wallpapers));
106106

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()
111111
{
112112
var now = DateTime.Now;
113113
return $"{now.Year}{now.Month}{now.Day}{now.Hour}{now.Minute}{now.Second}{now.Millisecond}";

0 commit comments

Comments
 (0)