feat(preferences): add toggle for copy preferences button (#7594)

Co-authored-by: hl <hl@nmcsoft.com>
This commit is contained in:
han
2026-03-02 15:30:38 +08:00
committed by GitHub
parent a46ed55a86
commit b8a0199cde
9 changed files with 19 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj
"dynamicTitle": true,
"enableCheckUpdates": true,
"enablePreferences": true,
"enableCopyPreferences": true,
"enableRefreshToken": false,
"enableStickyPreferencesNavigationBar": true,
"isMobile": false,

View File

@@ -21,6 +21,7 @@ const defaultPreferences: Preferences = {
dynamicTitle: true,
enableCheckUpdates: true,
enablePreferences: true,
enableCopyPreferences: true,
enableRefreshToken: false,
enableStickyPreferencesNavigationBar: true,
isMobile: false,

View File

@@ -55,6 +55,8 @@ interface AppPreferences {
enableCheckUpdates: boolean;
/** 是否显示偏好设置 */
enablePreferences: boolean;
/** 是否显示复制偏好设置按钮 */
enableCopyPreferences: boolean;
/**
* @zh_CN 是否开启refreshToken
*/