From 337b1d77d0074014a4f50b58babd0813231db80c Mon Sep 17 00:00:00 2001 From: Lungu Cristian Date: Fri, 20 Oct 2023 22:19:44 +0300 Subject: [PATCH] fix: crash when selecting photos from cameraroll (#17691) --- src/status_im2/contexts/chat/photo_selector/events.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im2/contexts/chat/photo_selector/events.cljs b/src/status_im2/contexts/chat/photo_selector/events.cljs index a974c5890e..efe9ea60a7 100644 --- a/src/status_im2/contexts/chat/photo_selector/events.cljs +++ b/src/status_im2/contexts/chat/photo_selector/events.cljs @@ -43,7 +43,7 @@ (merge {:first num :assetType "Photos" :groupTypes (if (= album (i18n/label :t/recent)) "All" "Albums") - :groupName (when (not= album (i18n/label :t/recent)) album) + :groupName (if (not= album (i18n/label :t/recent)) album "") :include ["imageSize"]} (when end-cursor {:after end-cursor}))