2020-10-20 去掉camera 界面的icon

it2023-05-08  75

diff --git a/apps/camera/src/config/settings.js b/apps/camera/src/config/settings.js index bb4610e..42a4b3c 100644 --- a/apps/camera/src/config/settings.js +++ b/apps/camera/src/config/settings.js @@ -45,17 +45,18 @@ let CameraSettings = {    },      flashModesPicture: { -    title: 'flash', header: 'flash', icon: 'flash-on', -    options: [{ key: 'auto', icon: 'flash-auto', title: 'flash-auto' }, +//    title: 'flash', header: 'flash', icon: 'flash-on', +    options: [/*{ key: 'auto', icon: 'flash-auto', title: 'flash-auto' },        { key: 'on', icon: 'flash-on', title: 'flash-on' }, -      { key: 'off', icon: 'flash-off', title: 'flash-off' }], +      { key: 'off', icon: 'flash-off', title: 'flash-off'} +        */],      persistent: true    },      flashModesVideo: { -    title: 'flash', header: 'flash', icon: 'flash-on', -    options: [{ key: 'off', icon: 'flash-off', title: 'flash-off' }, -      { key: 'torch', icon: 'flash-on', title: 'flash-on' }], +//    title: 'flash', header: 'flash', icon: 'flash-on', +    options: [/*{ key: 'off', icon: 'flash-off', title: 'flash-off' }, +      { key: 'torch', icon: 'flash-on', title: 'flash-on' }*/],      persistent: false    },   @@ -83,13 +84,13 @@ let CameraSettings = {    },      settingsMenuPhoto: { -    items: [{ key: 'cameras' }, { key: 'flashModesPicture' }, +    items: [{ key: 'cameras' }, /*{ key: 'flashModesPicture' },*/        { key: 'pictureSizes' }, { key: 'timer' }, { key: 'grid' },        { key: 'gallery' }, { key: 'mode' }]    },      settingsMenuVideo: { -    items: [{ key: 'cameras' }, { key: 'flashModesVideo' }, { key: 'recorderProfiles' }, +    items: [{ key: 'cameras' },/* { key: 'flashModesVideo' },*/ { key: 'recorderProfiles' },        { key: 'video' }, { key: 'mode' }]    },  };

最新回复(0)