Skip to content

Commit

Permalink
Improved: default value for copyToClipboard params
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 3, 2023
1 parent ec2f665 commit 405d66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const showToast = async (message: string) => {
return toast.present();
}

const copyToClipboard = async (text: any, showCopiedValue?: boolean) => {
const copyToClipboard = async (text: any, showCopiedValue = true) => {
const { Clipboard } = Plugins;

await Clipboard.write({
Expand Down

0 comments on commit 405d66b

Please sign in to comment.