[#17333] fix: disable ring for small avatar (#17385)

This commit is contained in:
Mohsen Ghafouri 2023-09-25 15:47:38 +03:00 committed by GitHub
parent a9b63e0f22
commit 1dfab2b416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
{:full-name display-name
:profile-picture photo-path
:size :xxs
:ring? false
:status-indicator? false}]))
(defn extra-action-view

View File

@ -17,6 +17,7 @@
{:full-name display-name
:profile-picture profile-picture
:status-indicator? false
:ring? false
:size :xxxs}]]
[quo/text
{:weight :semi-bold

View File

@ -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