|
76 | 76 | (str description " · " (i18n/label :t/on-device))])
|
77 | 77 |
|
78 | 78 | (defn- context-tag-subtitle
|
79 |
| - [{:keys [context-tag-type community-logo community-name account-name emoji customization-color]}] |
| 79 | + [{:keys [context-tag-type community-logo community-name account-name emoji customization-color |
| 80 | + full-name profile-picture]}] |
80 | 81 | (let [tag-type (or context-tag-type :account)]
|
81 | 82 | [rn/view
|
82 | 83 | {:accessibility-label :context-tag-wrapper
|
|
88 | 89 | :community-name community-name
|
89 | 90 | :community-logo community-logo
|
90 | 91 | :size 24
|
91 |
| - :customization-color customization-color}]])) |
| 92 | + :customization-color customization-color |
| 93 | + :profile-picture profile-picture |
| 94 | + :full-name full-name}]])) |
92 | 95 |
|
93 | 96 | (defn- description-subtitle
|
94 | 97 | [{:keys [theme blur? description]}]
|
|
100 | 103 |
|
101 | 104 | (defn- subtitle
|
102 | 105 | [{:keys [type theme blur? keycard? networks description community-name community-logo
|
103 |
| - context-tag-type account-name emoji customization-color]}] |
| 106 | + context-tag-type account-name emoji customization-color full-name profile-picture]}] |
104 | 107 | (cond
|
105 | 108 | (= :keypair type)
|
106 | 109 | [keypair-subtitle
|
|
128 | 131 | :community-name community-name
|
129 | 132 | :account-name account-name
|
130 | 133 | :emoji emoji
|
131 |
| - :customization-color customization-color}] |
| 134 | + :customization-color customization-color |
| 135 | + :profile-picture profile-picture |
| 136 | + :full-name full-name}] |
132 | 137 |
|
133 | 138 | (and (not= :label type) description)
|
134 | 139 | [description-subtitle
|
|
187 | 192 | on-button-press
|
188 | 193 | on-button-long-press
|
189 | 194 | button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar
|
190 |
| - profile-picture keycard? networks label]}] |
| 195 | + profile-picture keycard? networks label full-name]}] |
191 | 196 | [rn/view {:style style/container}
|
192 | 197 | (when (left-image-supported-types type)
|
193 | 198 | [rn/view {:style style/left-container}
|
|
218 | 223 | :context-tag-type context-tag-type
|
219 | 224 | :customization-color customization-color
|
220 | 225 | :account-name account-name
|
221 |
| - :emoji emoji}]] |
| 226 | + :emoji emoji |
| 227 | + :full-name full-name |
| 228 | + :profile-picture profile-picture}]] |
222 | 229 | [right-icon
|
223 | 230 | {:theme theme
|
224 | 231 | :type type
|
|
0 commit comments