mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 11:09:20 +01:00
Update clipboard.ts
This commit is contained in:
parent
99b7d29d1c
commit
5dd5002950
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export const getClipboardContent = async (): Promise<string | undefined> => {
|
|||
try {
|
||||
const isAllowed = await isReadClipboardAllowed();
|
||||
if (!isAllowed) return undefined;
|
||||
|
||||
|
||||
const hasString = await Clipboard.hasString();
|
||||
return hasString ? await Clipboard.getString() : undefined;
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue