Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
🐛 fix sharing intents not working due to a late initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
jozsefsallai committed Aug 3, 2021
1 parent 5947d69 commit 8591712
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/plugins/share/share.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class Share {
});

static Share fromReceived(Map received) {
late String text;
late String image;
late String video;
late String error;
String? text;
String? image;
String? video;
String? error;

if (received.containsKey(TEXT)) {
text = received[TEXT];
Expand Down

0 comments on commit 8591712

Please sign in to comment.