diff --git a/lib/app.dart b/lib/app.dart index 6614eabf..7afe5bd8 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -208,8 +208,8 @@ class _JournalAppState extends State { // For sharing images coming from outside the app while the app is in the memory _intentDataStreamSubscription = ReceiveSharingIntent.getMediaStream() .listen((List value) { - Log.d("Received Share $value"); if (value == null) return; + Log.d("Received Share $value"); setState(() { _sharedImages = value.map((f) => f.path)?.toList(); @@ -221,8 +221,8 @@ class _JournalAppState extends State { // For sharing images coming from outside the app while the app is closed ReceiveSharingIntent.getInitialMedia().then((List value) { - Log.d("Received Share with App running $value"); if (value == null) return; + Log.d("Received Share with App running $value"); setState(() { _sharedImages = value.map((f) => f.path)?.toList();