Skip to content

Commit

Permalink
fix: linter for new dart version
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellocamara committed May 10, 2023
1 parent 1b776a7 commit 73d8582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sensitive_clipboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SensitiveClipboard {
return Future.value(copyResult);
} else {
// Flutter's default clipboard
await Clipboard.setData(ClipboardData(text: text));
await Clipboard.setData(ClipboardData(text: text ?? ''));
return Future.value(false);
}
}
Expand Down

0 comments on commit 73d8582

Please sign in to comment.