Pass crashReporter instance to RustLog
parent
a28a2fb352
commit
8769d98e71
|
@ -276,7 +276,7 @@ open class FenixApplication : LocaleAwareApplication() {
|
||||||
return GlobalScope.async(Dispatchers.IO) {
|
return GlobalScope.async(Dispatchers.IO) {
|
||||||
// ... but RustHttpConfig.setClient() and RustLog.enable() can be called later.
|
// ... but RustHttpConfig.setClient() and RustLog.enable() can be called later.
|
||||||
RustHttpConfig.setClient(lazy { components.core.client })
|
RustHttpConfig.setClient(lazy { components.core.client })
|
||||||
RustLog.enable()
|
RustLog.enable(components.analytics.crashReporter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue