From c62d5e469f78d49911146c2681ad82e5d568bf1b Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 17 May 2020 19:51:26 +0200 Subject: [PATCH] Remove some logging --- lib/app.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();