mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 13:57:02 +08:00
feat(mobile): enable mobile keyboard toolbar (#8633)
This commit is contained in:
@@ -3,6 +3,7 @@ import type { FlagInfo } from './types';
|
||||
const isNotStableBuild = BUILD_CONFIG.appBuildType !== 'stable';
|
||||
const isDesktopEnvironment = BUILD_CONFIG.isElectron;
|
||||
const isCanaryBuild = BUILD_CONFIG.appBuildType === 'canary';
|
||||
const isMobile = BUILD_CONFIG.isMobileEdition;
|
||||
|
||||
export const AFFINE_FLAGS = {
|
||||
enable_ai: {
|
||||
@@ -153,6 +154,14 @@ export const AFFINE_FLAGS = {
|
||||
configurable: true,
|
||||
defaultState: false,
|
||||
},
|
||||
enable_mobile_keyboard_toolbar: {
|
||||
category: 'blocksuite',
|
||||
bsFlag: 'enable_mobile_keyboard_toolbar',
|
||||
displayName: 'Mobile Keyboard Toolbar',
|
||||
description: 'Enables the mobile keyboard toolbar.',
|
||||
configurable: false,
|
||||
defaultState: isMobile,
|
||||
},
|
||||
} satisfies { [key in string]: FlagInfo };
|
||||
|
||||
export type AFFINE_FLAGS = typeof AFFINE_FLAGS;
|
||||
|
||||
Reference in New Issue
Block a user