From 1a56a22a338df8945ecd789c94c9dffb4204c6ea Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 26 Jan 2026 13:40:51 +0500 Subject: [PATCH] mobile: fix feature not locked --- apps/mobile/app/hooks/use-actions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/app/hooks/use-actions.tsx b/apps/mobile/app/hooks/use-actions.tsx index d562fcd1b..bd8f77892 100644 --- a/apps/mobile/app/hooks/use-actions.tsx +++ b/apps/mobile/app/hooks/use-actions.tsx @@ -1169,7 +1169,7 @@ export const useActions = ({ id: "expiry-date", title: item.expiryDate ? strings.unsetExpiry() : strings.setExpiry(), icon: item.expiryDate ? "bomb-off" : "bomb", - locked: features?.expiringNotes?.isAllowed, + locked: !features?.expiringNotes?.isAllowed, onPress: async () => { if (item.expiryDate) { await db.notes.setExpiryDate(null, item.id);