mobile: fix sorting favorites

This commit is contained in:
ammarahm-ed
2023-07-18 13:29:21 +05:00
parent d95aba8cdd
commit 52df6468b7

View File

@@ -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}
/>