diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index c9e5b79..96771d5 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -318,6 +318,15 @@ const SettingsModal: React.FC = ({ open, onOpenChange }) => }; // Download update + const handleViewReleaseNotes = async () => { + if (!updateInfo?.release_url) return; + try { + await invoke('open_url', { url: updateInfo.release_url }); + } catch (error) { + console.error('Failed to open release notes:', error); + } + }; + const handleDownloadUpdate = async () => { if (!updateInfo?.download_url || !updateInfo?.asset_name) return; @@ -726,11 +735,9 @@ const SettingsModal: React.FC = ({ open, onOpenChange }) => -