mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-13 04:05:04 +03:00
fix cef debug toggle
This commit is contained in:
@@ -18,8 +18,8 @@ export default function RemoteDebuggingSettings() {
|
||||
value={allowRemoteDebugging || false}
|
||||
onChange={(toggleValue) => {
|
||||
setAllowRemoteDebugging(toggleValue);
|
||||
if (toggleValue) DeckyBackend.call('allow_remote_debugging');
|
||||
else DeckyBackend.call('disallow_remote_debugging');
|
||||
if (toggleValue) DeckyBackend.call('utilities/allow_remote_debugging');
|
||||
else DeckyBackend.call('utilities/disallow_remote_debugging');
|
||||
}}
|
||||
/>
|
||||
</Field>
|
||||
|
||||
Reference in New Issue
Block a user