Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed May 13, 2024
1 parent fa0c4f3 commit 6940f90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/status_im/contexts/communities/overview/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
:margin-top 20})

(defn fetching-placeholder
[margin-top]
[top-inset]
{:flex 1
:margin-top margin-top})
:margin-top top-inset})

(def blur-channel-header
{:position :absolute
Expand Down
8 changes: 4 additions & 4 deletions src/status_im/contexts/communities/overview/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@

(defn- community-fetching-placeholder
[id]
(let [theme (quo.theme/use-theme)
margin-top (safe-area/get-top)
fetching? (rf/sub [:communities/fetching-community id])]
(let [theme (quo.theme/use-theme)
top-inset (safe-area/get-top)
fetching? (rf/sub [:communities/fetching-community id])]
[rn/view
{:style (style/fetching-placeholder margin-top)
{:style (style/fetching-placeholder top-inset)
:accessibility-label (if fetching?
:fetching-community-overview
:failed-to-fetch-community-overview)}
Expand Down

0 comments on commit 6940f90

Please sign in to comment.