From 616a9247e889e80444e246404f8156dd3b67f4ad Mon Sep 17 00:00:00 2001 From: dab246 Date: Thu, 27 Nov 2025 01:32:06 +0700 Subject: [PATCH] fix(cnb): add `FORCE_EMAIL_QUERY` to `env.file` (cherry picked from commit 90347a845e58502b8486baa31bc079a23fab0e0e) --- env.file | 3 ++- lib/main/utils/app_config.dart | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/env.file b/env.file index e31c00b9f..f56a6fd0a 100644 --- a/env.file +++ b/env.file @@ -12,4 +12,5 @@ COZY_INTEGRATION= COZY_EXTERNAL_BRIDGE_VERSION= SENTRY_ENABLED=false SENTRY_DSN= -SENTRY_ENVIRONMENT= \ No newline at end of file +SENTRY_ENVIRONMENT= +FORCE_EMAIL_QUERY=false \ No newline at end of file diff --git a/lib/main/utils/app_config.dart b/lib/main/utils/app_config.dart index 98d0d6b5f..dbc79dd1a 100644 --- a/lib/main/utils/app_config.dart +++ b/lib/main/utils/app_config.dart @@ -75,4 +75,7 @@ class AppConfig { static bool get isCozyIntegrationEnabled => dotenv.get('COZY_INTEGRATION', fallback: 'false') == 'true'; static String get cozyExternalBridgeVersion => dotenv.get('COZY_EXTERNAL_BRIDGE_VERSION', fallback: '0.16.1'); + + static bool get isForceEmailQueryEnabled => + dotenv.get('FORCE_EMAIL_QUERY', fallback: 'false') == 'true'; } \ No newline at end of file