fix: make the setting icon style of non-system providers consistent with system providers

This commit is contained in:
one 2025-03-22 17:47:46 +08:00 committed by 亢奋猫
parent 43a6428653
commit 07b6d5ce1d

View File

@ -267,9 +267,11 @@ const ProviderSetting: FC<Props> = ({ provider: _provider }) => {
</Link>
)}
{!provider.isSystem && (
<Button type="text" style={{ width: 30 }} onClick={() => ProviderSettingsPopup.show({ provider })}>
<SettingOutlined />
</Button>
<SettingOutlined
type="text"
style={{ width: 30 }}
onClick={() => ProviderSettingsPopup.show({ provider })}
/>
)}
</Flex>
<Switch