Skip to content

Commit

Permalink
[#17333] fix: disable ring for small avatar (#17385)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri authored Sep 25, 2023
1 parent a9b63e0 commit 1dfab2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/status_im2/common/confirmation_drawer/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
{:full-name display-name
:profile-picture photo-path
:size :xxs
:ring? false
:status-indicator? false}]))

(defn extra-action-view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{:full-name display-name
:profile-picture profile-picture
:status-indicator? false
:ring? false
:size :xxxs}]]
[quo/text
{:weight :semi-bold
Expand Down
2 changes: 1 addition & 1 deletion src/status_im2/subs/profile.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
(fn [[multiaccounts port font-file] [_ target-key-uid]]
(let [{:keys [images ens-name?] :as multiaccount} (get multiaccounts target-key-uid)
image-name (-> images first :type)
override-ring? (not ens-name?)]
override-ring? (when ens-name? false)]
(when multiaccount
{:fn
(if image-name
Expand Down

0 comments on commit 1dfab2b

Please sign in to comment.