From c2efeedb8c5b653e0811ff07fd59de58053e4f46 Mon Sep 17 00:00:00 2001 From: rickycodes Date: Wed, 26 Aug 2020 20:37:36 -0400 Subject: [PATCH] Update captureMessage to use storage constant --- app/util/Logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/Logger.js b/app/util/Logger.js index 193029b4ccb..113b06adae6 100644 --- a/app/util/Logger.js +++ b/app/util/Logger.js @@ -65,7 +65,7 @@ export default class Logger { */ static async message(...args) { // Check if user passed accepted opt-in to metrics - const metricsOptIn = await AsyncStorage.getItem('@MetaMask:metricsOptIn'); + const metricsOptIn = await AsyncStorage.getItem(METRICS_OPT_IN); if (__DEV__) { args.unshift('[MetaMask DEBUG]:'); console.log.apply(null, args); // eslint-disable-line no-console