Skip to content

Commit

Permalink
Merge branch 'develop' into 16845
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil authored Oct 3, 2023
2 parents 75ae50b + f5038f8 commit 52578c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
[quo/text
{:size :paragraph-2
:style {:color (colors/theme-colors colors/neutral-50 colors/neutral-40)}}
(when size (str size " " (i18n/label :t/images)))]]
(when size
(str size
" "
(if (= size 1)
(i18n/label :t/image)
(i18n/label :t/images))))]]
(when selected?
[rn/view
{:style {:position :absolute
Expand Down
2 changes: 1 addition & 1 deletion src/status_im2/contexts/chat/photo_selector/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
:uri (get-in (first (:edges res-recent)) [:node :image :uri])}])
;; Get albums, then loop over albums and get each one's cover (first photo)
(cameraroll/get-albums
{:assetType "All"}
{:assetType :Photos}
(fn [res-albums]
(let [response-count (count res-albums)]
(if (pos? response-count)
Expand Down

0 comments on commit 52578c3

Please sign in to comment.