Skip to content

Commit de7f981

Browse files
committed
removing '-event' suffix from event names to normalise naming convention
1 parent 87668f5 commit de7f981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ElectronNET.API/API/NativeTheme.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public Task<bool> ShouldUseInvertedColorSchemeAsync()
184184
/// </summary>
185185
public event Action Updated
186186
{
187-
add => ApiEventManager.AddEventWithSuffix("nativeTheme-updated", GetHashCode(), _updated, value);
187+
add => ApiEventManager.AddEvent("nativeTheme-updated", GetHashCode(), _updated, value);
188188
remove => ApiEventManager.RemoveEvent("nativeTheme-updated", GetHashCode(), _updated, value);
189189
}
190190

0 commit comments

Comments
 (0)