mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-06 20:42:57 +08:00
📦 Chore(custom): remove unneeded console.log
This commit is contained in:
@@ -152,7 +152,6 @@ function calcOriginShowName(item: string) {
|
|||||||
function toggleEnable(item: IShortKeyConfig) {
|
function toggleEnable(item: IShortKeyConfig) {
|
||||||
const status = !item.enable
|
const status = !item.enable
|
||||||
item.enable = status
|
item.enable = status
|
||||||
console.log('Toggling shortKey:', item.name, 'to', status ? 'enabled' : 'disabled')
|
|
||||||
window.electron.sendRPC(IRPCActionType.SHORTKEY_BIND_OR_UNBIND, getRawData(item), item.from || '')
|
window.electron.sendRPC(IRPCActionType.SHORTKEY_BIND_OR_UNBIND, getRawData(item), item.from || '')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user