Skip to content

Commit

Permalink
fix: resolve UI glitches for chat, contacts, and keycard (#21946)
Browse files Browse the repository at this point in the history
This change resolves some issues related to text-overflow in the app, and it also ensures we use the correct drawer title when editing a user nickname.
  • Loading branch information
seanstrom authored Jan 24, 2025
1 parent 4dfd616 commit 94fbbbc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/quo/components/selectors/disclaimer/style.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
:border-color (colors/theme-colors colors/neutral-20 dark-border theme)}))

(def text
{:margin-left 8})
{:flex 1
:margin-left 8})

(def icon-container
{:align-items :flex-end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@
[content]
(reduce (fn [acc e]
(conj acc (resolve-group-system-message e)))
[quo/text]
[rn/view
{:style {:flex-direction :row
:flex-wrap :wrap}}]
(:parsed-text content)))

(defn group-system-message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
[quo/drawer-top
{:type :context-tag
:context-tag-type :default
:title (i18n/label :t/add-nickname-title)
:title (if has-nickname?
(i18n/label :t/edit-nickname)
(i18n/label :t/add-nickname-title))
:full-name full-name
:profile-picture profile-picture
:customization-color customization-color}]
Expand Down

0 comments on commit 94fbbbc

Please sign in to comment.