This commit is contained in:
mmilad75 2024-04-29 13:35:45 +01:00 committed by GitHub
parent e8008d0aa9
commit bd192b0f7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -28,9 +28,10 @@
(on-long-press collectible))}]))
(defn view
[{:keys [theme collectibles filtered? on-collectible-press on-end-reached current-account-address
[{:keys [collectibles filtered? on-collectible-press on-end-reached current-account-address
on-collectible-long-press]}]
(let [no-results-match-query? (and filtered? (empty? collectibles))]
(let [no-results-match-query? (and filtered? (empty? collectibles))
theme (quo.theme/use-theme)]
(cond
no-results-match-query?
[rn/view {:style {:flex 1 :justify-content :center}}