Skip to content

Commit

Permalink
remove excess group avatar file
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Son89 committed Aug 7, 2023
1 parent c9ee844 commit ad45dbc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 38 deletions.
32 changes: 0 additions & 32 deletions src/quo2/components/avatars/group_avatar.cljs

This file was deleted.

2 changes: 1 addition & 1 deletion src/quo2/components/avatars/group_avatar/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

;; TODO: this implementation does not support group display picture (can only display default group
;; icon).
(defn view-internal
(defn- view-internal
[_]
(fn [{:keys [color size theme]}]
(let [container-size (get-in sizes [:container size])
Expand Down
12 changes: 8 additions & 4 deletions src/quo2/components/buttons/dynamic_button/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
:notification-up 2
:search-with-label 8
:search 6
:scroll-to-bottom 6)
:scroll-to-bottom 6
nil)
:margin-right (case type
:jump-to 8
:mention 2
:notification-down 8
:notification-up 8
:search-with-label 4
:search 6
:scroll-to-bottom 6)})
:scroll-to-bottom 6
nil)})

(defn text
[type]
Expand All @@ -30,10 +32,12 @@
:mention 0
:notification-down 8
:notification-up 8
:search-with-label 0)
:search-with-label 0
nil)
:margin-right (case type
:jump-to 0
:mention 8
:notification-down 0
:notification-up 0
:search-with-label 8)})
:search-with-label 8
nil)})
2 changes: 1 addition & 1 deletion src/quo2/components/counter/step/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[react-native.core :as rn]
[utils.number]))

(defn view-internal
(defn- view-internal
[{:keys [type accessibility-label theme in-blur-view? customization-color]} value]
(let [type (or type :neutral)
value (utils.number/parse-int value)
Expand Down

0 comments on commit ad45dbc

Please sign in to comment.