From dd3ced17ded4a14e02af7562b364db3fbe17e63f Mon Sep 17 00:00:00 2001 From: kashaf-ansari-dev Date: Tue, 18 Aug 2026 18:56:58 +0500 Subject: [PATCH] mobile: re-check fullQualityImages availability on every compress toggle tap Signed-off-by: kashaf-ansari-dev --- apps/mobile/app/share/share.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/mobile/app/share/share.tsx b/apps/mobile/app/share/share.tsx index f81217c34..e29971a88 100644 --- a/apps/mobile/app/share/share.tsx +++ b/apps/mobile/app/share/share.tsx @@ -711,9 +711,10 @@ const ShareView = () => { width: "100%", marginTop: 6 }} - onPress={() => { - if (fullQualityImages?.isAllowed) { - setCompress(!compress); + onPress={async () => { + const feature = await isFeatureAvailable("fullQualityImages"); + if (feature?.isAllowed) { + setCompress((prev) => !prev); } }} >