about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-04-03 01:25:56 +0300
committerGitHub <noreply@github.com>2025-04-02 15:25:56 -0700
commit0897a692dad5bead4440453fc0ba5ac1b36b1f5c (patch)
tree5cd720861c1529645d5f54920906cc7970c0a450 /src
parentc5900034a4dcb2b53f3892e4bb3325d02cf48cc2 (diff)
downloadvoidsky-0897a692dad5bead4440453fc0ba5ac1b36b1f5c.tar.zst
fix bg color (#8102)
Diffstat (limited to 'src')
-rw-r--r--src/components/dms/EmojiReactionPicker.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/dms/EmojiReactionPicker.tsx b/src/components/dms/EmojiReactionPicker.tsx
index bf68b6e3a..cdb1680e8 100644
--- a/src/components/dms/EmojiReactionPicker.tsx
+++ b/src/components/dms/EmojiReactionPicker.tsx
@@ -53,15 +53,17 @@ export function EmojiReactionPicker({
 
   const limitReacted = hasReachedReactionLimit(message, currentAccount?.did)
 
+  const bgColor = t.scheme === 'light' ? t.atoms.bg : t.atoms.bg_contrast_25
+
   return (
     <View
       onLayout={evt => setLayout(evt.nativeEvent.layout)}
       style={[
+        bgColor,
         a.rounded_full,
         a.absolute,
         {bottom: '100%'},
         isFromSelf ? a.right_0 : a.left_0,
-        t.scheme === 'light' ? t.atoms.bg : t.atoms.bg_contrast_25,
         a.flex_row,
         a.p_xs,
         a.gap_xs,
@@ -97,7 +99,7 @@ export function EmojiReactionPicker({
                       }
                     : alreadyReacted
                     ? {backgroundColor: t.palette.primary_200}
-                    : t.atoms.bg,
+                    : bgColor,
                   {height: 40, width: 40},
                   a.justify_center,
                   a.align_center,