Fix retrieval of object

feature/default_network_editable
Dan Finlay 7 years ago
parent cd5eaa4393
commit 76521cf739
  1. 3
      app/scripts/lib/local-store.js

@ -3,7 +3,6 @@
// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/local
const extension = require('extensionizer')
const STORAGE_KEY = 'metamask-config'
module.exports = class ExtensionStore {
constructor() {
@ -14,7 +13,7 @@ module.exports = class ExtensionStore {
}
get() {
return new Promise((resolve) => {
extension.storage.local.get(STORAGE_KEY, resolve)
extension.storage.local.get(null, resolve)
})
}
set(state) {

Loading…
Cancel
Save