An advanced Ethereum/EVM mobile wallet
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.
 
 
 
alpha-wallet-ios/AlphaWalletSafariExtension/Resources/background.js

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);
}
});