Skip to content

Commit

Permalink
Add theme default value (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
stnkl committed Feb 3, 2023
1 parent c493111 commit e54309b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EverythingToolbar/Behaviors/ThemeAwareness.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private void OnSettingsChanged(object sender, PropertyChangedEventArgs e)

public void AutoApplyTheme()
{
bool isLightTheme = (int)_systemThemeRegistryEntry.GetValue() == 1;
bool isLightTheme = (int)_systemThemeRegistryEntry.GetValue(0) == 1;
ApplyTheme(isLightTheme);
}

Expand Down

0 comments on commit e54309b

Please sign in to comment.