about summary refs log tree commit diff
path: root/src/lib/routes/types.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-06-11 13:08:06 -0500
committerGitHub <noreply@github.com>2024-06-11 11:08:06 -0700
commit4b6609d48b41cdc5be6fb957ea396e8aba18b1b6 (patch)
tree57a2bdf4fe7a088fb12a569945201b464e7208de /src/lib/routes/types.ts
parent3573f7ea40d41b8c416194da31fbbad092062679 (diff)
downloadvoidsky-4b6609d48b41cdc5be6fb957ea396e8aba18b1b6.tar.zst
Move feeds screen into common navigator, handle usages (#4365)
* Move feeds screen into common navigator, handle usages

* Add link to Feeds from home screen (#4366)

* Add link to feeds to home screen header

* Center logo

* Replace icons

* Tweak spacing

* Tweak spacing

* Swap icon, sizing

* Buttonize, size

* Make menu same alignment on all screens

* Remove FeedsTab support, enable drawer swipe on MessagesTab

* Add note

* Vertically align header

* Swap in Pin

* Use hashtag icon

* Remove png

* Fix reference

* Ensure alignment with home and other screens
Diffstat (limited to 'src/lib/routes/types.ts')
-rw-r--r--src/lib/routes/types.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts
index 7504cd83a..caa861b6e 100644
--- a/src/lib/routes/types.ts
+++ b/src/lib/routes/types.ts
@@ -40,12 +40,12 @@ export type CommonNavigatorParams = {
   Hashtag: {tag: string; author?: string}
   MessagesConversation: {conversation: string; embed?: string}
   MessagesSettings: undefined
+  Feeds: undefined
 }
 
 export type BottomTabNavigatorParams = CommonNavigatorParams & {
   HomeTab: undefined
   SearchTab: undefined
-  FeedsTab: undefined
   NotificationsTab: undefined
   MyProfileTab: undefined
   MessagesTab: undefined
@@ -59,10 +59,6 @@ export type SearchTabNavigatorParams = CommonNavigatorParams & {
   Search: {q?: string}
 }
 
-export type FeedsTabNavigatorParams = CommonNavigatorParams & {
-  Feeds: undefined
-}
-
 export type NotificationsTabNavigatorParams = CommonNavigatorParams & {
   Notifications: undefined
 }
@@ -89,7 +85,6 @@ export type AllNavigatorParams = CommonNavigatorParams & {
   Home: undefined
   SearchTab: undefined
   Search: {q?: string}
-  FeedsTab: undefined
   Feeds: undefined
   NotificationsTab: undefined
   Notifications: undefined