Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix sorting favorites

ammarahm-ede34607f2444e
diff --git a/apps/mobile/app/components/list/index.js b/apps/mobile/app/components/list/index.js
index b1d95d03c..9b3296b82 100644
--- a/apps/mobile/app/components/list/index.js
+++ b/apps/mobile/app/components/list/index.js
@@ -111,7 +111,13 @@ const List = ({
index={index}
color={headerProps?.color}
title={headerProps?.heading}
- type={screen === "Notes" ? "home" : type}
+ type={
+ screen === "Notes"
+ ? "home"
+ : screen === "Favorites"
+ ? "favorites"
+ : type
+ }
screen={screen}
isSheet={isSheet}
/>