Skip to content

Commit eabcc3a

Browse files
authored
Merge pull request #798 from dlanorok/fixes/appSetAccessibilitySupportEnabled
Fixes/app set accessibility support enabled
2 parents 77b7141 + 0dc8369 commit eabcc3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ElectronNET.API/App.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ public async Task<bool> IsAccessibilitySupportEnabledAsync(CancellationToken can
15251525
/// <param name="enabled">Enable or disable <see href="https://developers.google.com/web/fundamentals/accessibility/semantics-builtin/the-accessibility-tree">accessibility tree</see> rendering.</param>
15261526
public void SetAccessibilitySupportEnabled(bool enabled)
15271527
{
1528-
BridgeConnector.Socket.Emit("appSetAboutPanelOptions", enabled);
1528+
BridgeConnector.Socket.Emit("appSetAccessibilitySupportEnabled", enabled);
15291529
}
15301530

15311531
/// <summary>
@@ -1640,4 +1640,4 @@ public void Once(string eventName, Action action)
16401640
public async Task Once(string eventName, Action<object> action)
16411641
=> await Events.Instance.Once(ModuleName, eventName, action);
16421642
}
1643-
}
1643+
}

0 commit comments

Comments
 (0)