From 52df6468b7256f2e7c6630e8386689d70ff24079 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Tue, 18 Jul 2023 13:29:21 +0500 Subject: [PATCH] mobile: fix sorting favorites --- apps/mobile/app/components/list/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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} />