Add version number to settings page
This commit is contained in:
10 files changed
+100
-66
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { NormalConfig } from '../types/NormalConfig'
|
||||
import { notifyUser } from './Notifications'
|
||||
|
||||
export async function copyToClipboard (
|
||||
text: string,
|
||||
normalConfig: NormalConfig | null
|
||||
) {
|
||||
if (normalConfig?.settings.allowNotifications)
|
||||
await notifyUser('Copied', 'Text "' + text + '" copied to clipboard')
|
||||
}
|
||||
Reference in new issue
Block a user