From e735ada758eefabcb31815c7fcccaca81f19b722 Mon Sep 17 00:00:00 2001 From: EYHN Date: Wed, 6 Aug 2025 11:14:34 +0800 Subject: [PATCH] feat(ios): enable ai button (#13422) ## Summary by CodeRabbit * **New Features** * The AI button feature on mobile is now enabled by default only on iOS devices, instead of being limited to canary builds. * **Chores** * Updated internal configuration for mobile feature availability. --- packages/frontend/core/src/modules/feature-flag/constant.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/core/src/modules/feature-flag/constant.ts b/packages/frontend/core/src/modules/feature-flag/constant.ts index 7b5543462..04ea7e1b8 100644 --- a/packages/frontend/core/src/modules/feature-flag/constant.ts +++ b/packages/frontend/core/src/modules/feature-flag/constant.ts @@ -209,8 +209,8 @@ export const AFFINE_FLAGS = { category: 'affine', displayName: 'Enable AI Button', description: 'Enable AI Button on mobile', - configurable: BUILD_CONFIG.isMobileEdition && isCanaryBuild, - defaultState: false, + configurable: BUILD_CONFIG.isMobileEdition && BUILD_CONFIG.isIOS, + defaultState: BUILD_CONFIG.isMobileEdition && BUILD_CONFIG.isIOS, }, enable_turbo_renderer: { category: 'blocksuite',