[fenix] Pass crashReporter instance to RustLog

pull/600/head
Grisha Kruglov 4 years ago committed by Grisha Kruglov
parent cce10c6318
commit f1ea6dcb5b

@ -276,7 +276,7 @@ open class FenixApplication : LocaleAwareApplication() {
return GlobalScope.async(Dispatchers.IO) {
// ... but RustHttpConfig.setClient() and RustLog.enable() can be called later.
RustHttpConfig.setClient(lazy { components.core.client })
RustLog.enable()
RustLog.enable(components.analytics.crashReporter)
}
}

Loading…
Cancel
Save