about summary refs log tree commit diff
path: root/src/lib/routes/helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/routes/helpers.ts')
-rw-r--r--src/lib/routes/helpers.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/routes/helpers.ts b/src/lib/routes/helpers.ts
index be76b9669..cfa6ae53b 100644
--- a/src/lib/routes/helpers.ts
+++ b/src/lib/routes/helpers.ts
@@ -20,7 +20,8 @@ export function isStateAtTabRoot(state: State | undefined) {
   return (
     isTab(currentRoute.name, 'Home') ||
     isTab(currentRoute.name, 'Search') ||
-    isTab(currentRoute.name, 'Notifications')
+    isTab(currentRoute.name, 'Notifications') ||
+    isTab(currentRoute.name, 'MyProfile')
   )
 }