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