(updates)
| 923 | } |
| 924 | |
| 925 | async function setPersistentSettings(updates) { |
| 926 | const persistedUpdates = buildPersistentSettingsPayload(updates); |
| 927 | |
| 928 | if (Object.keys(persistedUpdates).length > 0) { |
| 929 | await chrome.storage.local.set(persistedUpdates); |
| 930 | } |
| 931 | } |
| 932 | |
| 933 | function buildSettingsExportFilename(date = new Date()) { |
| 934 | const pad = (value) => String(value).padStart(2, '0'); |
no test coverage detected