Remove allow notifications setting, it can be handled natively

This commit is contained in:
Lncvrt committed 2026-05-08 17:40:49 -07:00
1 parent 68864356b1
commit 3cc7257923
5 files changed
+21 -57

No files matched your search

+2 -6
View File
@@ -1,11 +1,7 @@
import { writeText } from '@tauri-apps/plugin-clipboard-manager'
import { notifyUser } from './notifications'
export async function copyToClipboard (
text: string,
notificationsAllowed: boolean
) {
export async function copyToClipboard (text: string) {
await writeText(text)
if (notificationsAllowed)
await notifyUser('Copied', 'Text "' + text + '" copied to clipboard')
await notifyUser('Copied', 'Text "' + text + '" copied to clipboard')
}