mobile: fix feature not locked

This commit is contained in:
Ammar Ahmed
2026-01-26 13:40:51 +05:00
parent c85204d0c1
commit 1a56a22a33

View File

@@ -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);