mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/3508: "Send crash report" checkbox is ignored (https://github.com/mozilla-mobile/fenix/pull/3512)
This commit is contained in:
parent
717d7f0424
commit
4711606eb0
@ -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
Block a user