Skip to content

Commit

Permalink
Update captureMessage to use storage constant
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Aug 27, 2020
1 parent d759321 commit c2efeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/Logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2efeed

Please sign in to comment.