fix(monitor): resolve incorrect paste mode in notification key

This commit is contained in:
Prad Nukala
2026-07-13 12:25:38 -04:00
parent 13fcc50f36
commit b69d0f8fd1
2 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ local function finishSession(exitCode)
end
if exitCode == "0" then
if intent.notify then
local key = intent.mode == "clipboard" and "notify.done_clipboard" or "notify.done_paste"
local key = intent.mode == "paste" and "notify.done_paste" or "notify.done_clipboard"
noctalia.notify(noctalia.tr("title"), noctalia.tr(key))
end
elseif exitCode ~= nil then