SYNC: autocommit icons

This commit is contained in:
SPRINX0\prochazka
2025-02-25 09:48:16 +01:00
committed by Diflow
parent 9e9dec5389
commit 2268086eac
2 changed files with 6 additions and 4 deletions

View File

@@ -71,16 +71,16 @@
registerCommand({
id: 'query.autocommitOffSwitch',
category: 'Query',
name: 'Autocommit: OFF',
icon: 'icon transaction',
name: 'Auto commit: OFF',
icon: 'icon autocommit-off',
testEnabled: () => getCurrentEditor()?.autocommitOffSwitchEnabled(),
onClick: () => getCurrentEditor().autocommitOffSwitch(),
});
registerCommand({
id: 'query.autocommitOnSwitch',
category: 'Query',
name: 'Autocommit: ON',
icon: 'icon transaction',
name: 'Auto commit: ON',
icon: 'icon autocommit-on',
testEnabled: () => getCurrentEditor()?.autocommitOnSwitchEnabled(),
onClick: () => getCurrentEditor().autocommitOnSwitch(),
});