mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): add missing configureAppThemeModule to shell (#8656)
This commit is contained in:
@@ -11,6 +11,7 @@ import { configureI18nModule, I18nProvider } from '@affine/core/modules/i18n';
|
||||
import { configureElectronStateStorageImpls } from '@affine/core/modules/storage';
|
||||
import { SplitViewFallback } from '@affine/core/modules/workbench/view/split-view/split-view';
|
||||
import {
|
||||
configureAppThemeModule,
|
||||
configureGlobalStorageModule,
|
||||
Framework,
|
||||
FrameworkRoot,
|
||||
@@ -25,6 +26,7 @@ configureAppTabsHeaderModule(framework);
|
||||
configureAppSidebarModule(framework);
|
||||
configureI18nModule(framework);
|
||||
configureDesktopApiModule(framework);
|
||||
configureAppThemeModule(framework);
|
||||
const frameworkProvider = framework.provider();
|
||||
|
||||
export function App() {
|
||||
|
||||
@@ -100,7 +100,9 @@ export interface CopilotMessageNotFoundDataType {
|
||||
export enum CopilotModels {
|
||||
DallE3 = 'DallE3',
|
||||
Gpt4Omni = 'Gpt4Omni',
|
||||
Gpt4Omni0806 = 'Gpt4Omni0806',
|
||||
Gpt4OmniMini = 'Gpt4OmniMini',
|
||||
Gpt4OmniMini0718 = 'Gpt4OmniMini0718',
|
||||
TextEmbedding3Large = 'TextEmbedding3Large',
|
||||
TextEmbedding3Small = 'TextEmbedding3Small',
|
||||
TextEmbeddingAda002 = 'TextEmbeddingAda002',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ar": 84,
|
||||
"ar": 82,
|
||||
"ca": 6,
|
||||
"da": 6,
|
||||
"de": 31,
|
||||
@@ -7,14 +7,14 @@
|
||||
"es-AR": 15,
|
||||
"es-CL": 17,
|
||||
"es": 15,
|
||||
"fr": 74,
|
||||
"fr": 73,
|
||||
"hi": 2,
|
||||
"it": 1,
|
||||
"ja": 99,
|
||||
"ko": 88,
|
||||
"ja": 97,
|
||||
"ko": 86,
|
||||
"pl": 0,
|
||||
"pt-BR": 96,
|
||||
"ru": 82,
|
||||
"pt-BR": 94,
|
||||
"ru": 80,
|
||||
"sv-SE": 5,
|
||||
"ur": 3,
|
||||
"zh-Hans": 98,
|
||||
|
||||
Reference in New Issue
Block a user