refactor(types): introduce Settings and apply in API

- style(prettier): format src files
- style(rustfmt): format Rust sources
- refactor(tauri-api): type-safe getSettings/saveSettings
- refactor(d.ts): declare window.api with Settings

[skip ci]
This commit is contained in:
Jason
2025-09-07 11:36:09 +08:00
parent 77bdeb02fb
commit 02bfc97ee6
11 changed files with 210 additions and 106 deletions

View File

@@ -100,7 +100,10 @@ const ProviderList: React.FC<ProviderListProps> = ({
{provider.websiteUrl}
</button>
) : (
<span className="text-[var(--color-text-secondary)]" title={apiUrl}>
<span
className="text-[var(--color-text-secondary)]"
title={apiUrl}
>
{apiUrl}
</span>
)}