Merge pull request #1046 from mozilla/fix-delete-button

Fix #890  Fix delete by initializing the metrics on android; delete w…
This commit is contained in:
Danny Coates 2018-12-17 13:49:05 -08:00 committed by GitHub
commit 41d0076add
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import html from 'choo/html';
import Raven from 'raven-js'; import Raven from 'raven-js';
import { setApiUrlPrefix } from '../app/api'; import { setApiUrlPrefix } from '../app/api';
import metrics from '../app/metrics';
import assets from '../common/assets'; import assets from '../common/assets';
import Header from '../app/ui/header'; import Header from '../app/ui/header';
import storage from '../app/storage'; import storage from '../app/storage';
@ -43,6 +44,7 @@ if (navigator.userAgent === 'Send Android') {
const app = choo(); const app = choo();
//app.use(state); //app.use(state);
app.use(metrics);
app.use(controller); app.use(controller);
app.use(intents); app.use(intents);