diff --git a/src/status_im/subs/contact.cljs b/src/status_im/subs/contact.cljs index 246d5ff9f161..ce5e03cb5bca 100644 --- a/src/status_im/subs/contact.cljs +++ b/src/status_im/subs/contact.cljs @@ -64,7 +64,7 @@ {:thumbnail {:fn (image-server/get-initials-avatar-uri-fn {:port port - :ratio status-im.common.pixel-ratio/ratio + :ratio pixel-ratio/ratio :public-key public-key :override-ring? (when ens-name false) :uppercase-ratio (:uppercase-ratio constants/initials-avatar-font-conf) diff --git a/src/status_im/subs/profile.cljs b/src/status_im/subs/profile.cljs index 951bab58784c..7c54c90a7ff0 100644 --- a/src/status_im/subs/profile.cljs +++ b/src/status_im/subs/profile.cljs @@ -68,13 +68,13 @@ {:fn (if image-name (image-server/get-account-image-uri-fn {:port port - :ratio status-im.common.pixel-ratio/ratio + :ratio pixel-ratio/ratio :image-name image-name :key-uid target-key-uid :theme (theme/get-theme) :override-ring? override-ring?}) (image-server/get-initials-avatar-uri-fn {:port port - :ratio status-im.common.pixel-ratio/ratio + :ratio pixel-ratio/ratio :key-uid target-key-uid :theme (theme/get-theme) :override-ring? override-ring? @@ -280,12 +280,11 @@ images-with-uri (mapv (fn [{key-uid :keyUid image-name :type :as image}] (let [uri-fn (image-server/get-account-image-uri-fn (merge - {:port port - :ratio - status-im.common.pixel-ratio/ratio + {:port port + :ratio pixel-ratio/ratio :image-name image-name - :key-uid key-uid - :theme theme} + :key-uid key-uid + :theme theme} avatar-opts))] (assoc image :fn uri-fn))) images) @@ -293,7 +292,7 @@ images-with-uri [{:fn (image-server/get-initials-avatar-uri-fn (merge {:port port - :ratio status-im.common.pixel-ratio/ratio + :ratio pixel-ratio/ratio :uppercase-ratio (:uppercase-ratio constants/initials-avatar-font-conf)