mirror of
https://github.com/prdlk/noctalia-ostt.git
synced 2026-08-02 17:41:38 +00:00
fix(monitor): resolve incorrect paste mode in notification key
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user