Skip to content

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

mobile: hide dateModified for sort sheet in screens other than tags.

ammarahm-ed3f4021ea44c9
diff --git a/apps/mobile/app/components/sheets/sort/index.js b/apps/mobile/app/components/sheets/sort/index.js
index e95cd80b7..28b944728 100644
--- a/apps/mobile/app/components/sheets/sort/index.js
+++ b/apps/mobile/app/components/sheets/sort/index.js
@@ -141,6 +141,7 @@ const Sort = ({ type, screen }) => {
) : (
Object.keys(SORT).map((item) =>
(item === "title" && groupOptions.groupBy !== "none") ||
+ (screen !== "Tags" && item === "dateModified") ||
(screen === "Tags" && item === "dateEdited") ? null : (
<Button
key={item}