about summary refs log tree commit diff
path: root/src/screens/Search/components/ExploreTrendingTopics.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-12-18 13:55:59 -0600
committerGitHub <noreply@github.com>2024-12-18 19:55:59 +0000
commitc8e307b5cf35580bc576cd26d9ec17a77d7bdba1 (patch)
treed7ca55063707978de154b0cff768e957394b036d /src/screens/Search/components/ExploreTrendingTopics.tsx
parenta7f763faf23bc5d9db94f6e8f2f52ffec25d95a2 (diff)
downloadvoidsky-c8e307b5cf35580bc576cd26d9ec17a77d7bdba1.tar.zst
Trending tracking 2 (#7162)
* Move

(cherry picked from commit bfb96f4ce287b140d25f36c678c0ac21bdb11b3d)

* Add to recommeded too

(cherry picked from commit e6844883a6c0dfeb1a36837d70c09e1240c32a06)

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/screens/Search/components/ExploreTrendingTopics.tsx')
-rw-r--r--src/screens/Search/components/ExploreTrendingTopics.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screens/Search/components/ExploreTrendingTopics.tsx b/src/screens/Search/components/ExploreTrendingTopics.tsx
index a4766a0f4..ca4fa6e5e 100644
--- a/src/screens/Search/components/ExploreTrendingTopics.tsx
+++ b/src/screens/Search/components/ExploreTrendingTopics.tsx
@@ -43,7 +43,7 @@ function Inner() {
   const trendingPrompt = Prompt.usePromptControl()
 
   const onConfirmHide = React.useCallback(() => {
-    logEvent('trendingTopics:hide', {context: 'explore'})
+    logEvent('trendingTopics:hide', {context: 'explore:trending'})
     setTrendingDisabled(true)
   }, [setTrendingDisabled])
 
@@ -51,9 +51,10 @@ function Inner() {
     <>
       <View
         style={[
+          a.flex_row,
           isWeb
-            ? [a.flex_row, a.px_lg, a.py_lg, a.pt_2xl, a.gap_md]
-            : [{flexDirection: 'row-reverse'}, a.p_lg, a.pt_2xl, a.gap_md],
+            ? [a.px_lg, a.py_lg, a.pt_2xl, a.gap_md]
+            : [a.p_lg, a.pt_2xl, a.gap_md],
           a.border_b,
           t.atoms.border_contrast_low,
         ]}>
@@ -78,9 +79,8 @@ function Inner() {
             <Trans>What people are posting about.</Trans>
           </Text>
         </View>
-
         <Button
-          label={_(msg`Hide trending tpoics`)}
+          label={_(msg`Hide trending topics`)}
           size="small"
           variant="ghost"
           color="secondary"