mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
mobile: re-check fullQualityImages availability on every compress toggle tap
Signed-off-by: kashaf-ansari-dev <kashafansari3108@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user