From 643ced401282c7b24dfd5b4c95ad8d334280c6ee 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` --- 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 9c6b135b6..73a1988af 100644 --- a/env.file +++ b/env.file @@ -9,4 +9,5 @@ FORWARD_WARNING_MESSAGE= PLATFORM=other WS_ECHO_PING= COZY_INTEGRATION= -COZY_EXTERNAL_BRIDGE_VERSION= \ No newline at end of file +COZY_EXTERNAL_BRIDGE_VERSION= +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 f22cd5a35..2c00fcec2 100644 --- a/lib/main/utils/app_config.dart +++ b/lib/main/utils/app_config.dart @@ -77,4 +77,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