mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
Fix #890 Fix delete by initializing the metrics on android; delete was trying to use metrics and causing an exception because it hadn't been initialized
This commit is contained in:
@@ -24,6 +24,7 @@ import html from 'choo/html';
|
||||
import Raven from 'raven-js';
|
||||
|
||||
import { setApiUrlPrefix } from '../app/api';
|
||||
import metrics from '../app/metrics';
|
||||
import assets from '../common/assets';
|
||||
import Header from '../app/ui/header';
|
||||
import storage from '../app/storage';
|
||||
@@ -43,6 +44,7 @@ if (navigator.userAgent === 'Send Android') {
|
||||
|
||||
const app = choo();
|
||||
//app.use(state);
|
||||
app.use(metrics);
|
||||
app.use(controller);
|
||||
app.use(intents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user