mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
style: update gemini logo images (#11731)
* style: update gemini logo images and fix model logo condition Update the Gemini logo images in both apps and models directories Remove or fix the always-true isLight condition in getModelLogoById * style: downsample gemini icon * style(minapp): Add bordered property for gemini minapp Add FIXME comment to indicate 'bodered' should be 'bordered' and update config to use correct property
This commit is contained in:
parent
b58a2fce03
commit
516b8479d6
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 19 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 19 KiB |
@ -101,7 +101,8 @@ const ORIGIN_DEFAULT_MIN_APPS: MinAppType[] = [
|
||||
id: 'gemini',
|
||||
name: 'Gemini',
|
||||
url: 'https://gemini.google.com/',
|
||||
logo: GeminiAppLogo
|
||||
logo: GeminiAppLogo,
|
||||
bodered: true
|
||||
},
|
||||
{
|
||||
id: 'silicon',
|
||||
|
||||
@ -163,6 +163,7 @@ import ZhipuProviderLogo from '@renderer/assets/images/providers/zhipu.png'
|
||||
import type { Model } from '@renderer/types'
|
||||
|
||||
export function getModelLogoById(modelId: string): string | undefined {
|
||||
// FIXME: This is always true. Either remove it or fetch it.
|
||||
const isLight = true
|
||||
|
||||
if (!modelId) {
|
||||
|
||||
@ -439,6 +439,7 @@ export type MinAppType = {
|
||||
name: string
|
||||
logo?: string
|
||||
url: string
|
||||
// FIXME: It should be `bordered`
|
||||
bodered?: boolean
|
||||
background?: string
|
||||
style?: CSSProperties
|
||||
|
||||
Loading…
Reference in New Issue
Block a user