mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Fix #3050: don't synchronise custom themes
This commit is contained in:
parent
071b6bd6b3
commit
82588a91b0
1 changed files with 5 additions and 1 deletions
|
@ -1343,9 +1343,13 @@ export async function getAsync(
|
|||
|
||||
/*
|
||||
* Replaces the configuration in your sync storage with your current configuration. Does not merge: it overwrites.
|
||||
*
|
||||
* Does not synchronise custom themes due to storage constraints.
|
||||
*/
|
||||
export async function push() {
|
||||
return browser.storage.sync.set(await browser.storage.local.get(CONFIGNAME))
|
||||
const local_conf = await browser.storage.local.get(CONFIGNAME)
|
||||
delete local_conf[CONFIGNAME].customthemes
|
||||
return browser.storage.sync.set(local_conf)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue