about summary refs log tree commit diff
path: root/src/view/shell/bottom-bar/BottomBarStyles.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-15 20:30:17 +0000
committerGitHub <noreply@github.com>2024-12-15 20:30:17 +0000
commit1ac307bc42bdf370c2011e7e7f2c76baea3441d2 (patch)
tree5e5b1513c1c35115d3eed73ae9a11178cd48a525 /src/view/shell/bottom-bar/BottomBarStyles.tsx
parent80c0125d6bfbafe463c526f37dab62f5f6604883 (diff)
downloadvoidsky-1ac307bc42bdf370c2011e7e7f2c76baea3441d2.tar.zst
[Experiment] Remove "Load Latest" button (#7120)
* Remove "show latest" behind the gate

* Add HomeBadgeProvider

* Update provider state from home feed tabs

* Add Home badge to native

* Add Home badge to mobile web

* Add Home badge to desktop web
Diffstat (limited to 'src/view/shell/bottom-bar/BottomBarStyles.tsx')
-rw-r--r--src/view/shell/bottom-bar/BottomBarStyles.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/view/shell/bottom-bar/BottomBarStyles.tsx b/src/view/shell/bottom-bar/BottomBarStyles.tsx
index 9255957cb..d80914d09 100644
--- a/src/view/shell/bottom-bar/BottomBarStyles.tsx
+++ b/src/view/shell/bottom-bar/BottomBarStyles.tsx
@@ -44,6 +44,17 @@ export const styles = StyleSheet.create({
     color: colors.white,
     fontVariant: ['tabular-nums'],
   },
+  hasNewBadge: {
+    position: 'absolute',
+    left: '52%',
+    marginLeft: 4,
+    top: 10,
+    width: 8,
+    height: 8,
+    backgroundColor: colors.blue3,
+    borderRadius: 6,
+    zIndex: 1,
+  },
   ctrlIcon: {
     marginLeft: 'auto',
     marginRight: 'auto',