mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-21 00:16:37 +00:00
feat: improve toast UI, add-modal cookie handling, and completion sounds
- Refine toast animations and durations - Prevent extension-captured cookies from being sent across cross-origin redirects - Clear stale extension metadata properly for single-link handoffs - Disable completion sound by default and update settings labels - Handle AudioContext suspension for completion chimes
This commit is contained in:
@@ -398,10 +398,10 @@ export const useDownloadStore = create<DownloadState>((set, get) => ({
|
||||
return {
|
||||
isAddModalOpen: true,
|
||||
pendingAddUrls: mergedUrls,
|
||||
pendingAddReferer: referer?.trim() || state.pendingAddReferer || '',
|
||||
pendingAddFilename: filename?.trim() || state.pendingAddFilename || '',
|
||||
pendingAddHeaders: headers?.trim() || state.pendingAddHeaders || '',
|
||||
pendingAddCookies: cookies?.trim() || state.pendingAddCookies || ''
|
||||
pendingAddReferer: referer?.trim() || '',
|
||||
pendingAddFilename: filename?.trim() || '',
|
||||
pendingAddHeaders: headers?.trim() || '',
|
||||
pendingAddCookies: cookies?.trim() || ''
|
||||
};
|
||||
}),
|
||||
handleExtensionDownload: async (request) => {
|
||||
|
||||
Reference in New Issue
Block a user