parent
521312c6f8
commit
0135424883
|
@ -68,7 +68,7 @@ class CrashReporterFragment : Fragment() {
|
||||||
|
|
||||||
private fun submitReportIfNecessary(crash: Crash) {
|
private fun submitReportIfNecessary(crash: Crash) {
|
||||||
var didSubmitCrashReport = false
|
var didSubmitCrashReport = false
|
||||||
if (Settings.getInstance(context!!).isCrashReportingEnabled) {
|
if (Settings.getInstance(context!!).isCrashReportingEnabled && send_crash_checkbox.isChecked) {
|
||||||
requireComponents.analytics.crashReporter.submitReport(crash)
|
requireComponents.analytics.crashReporter.submitReport(crash)
|
||||||
didSubmitCrashReport = true
|
didSubmitCrashReport = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue