blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
389 B
9 lines
389 B
// Watch for changes to the user's options & apply them
|
|
console.log('enable debug mode?', debugMode);
|
|
browser.storage.local.onChanged.addListener((changes, area) => {
|
|
if (area === 'sync' && changes.options?.newValue) {
|
|
const debugMode = Boolean(changes.options.newValue.debug);
|
|
console.log('enable debug mode?', debugMode);
|
|
// setDebugMode(debugMode);
|
|
}
|
|
});
|
|
|