mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Small fix
This commit is contained in:
@@ -72,7 +72,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
};
|
||||
|
||||
private final static String[] RESET_QUESTIONS = new String[]{
|
||||
"welcome", "show_html_confirmed", "show_images_confirmed", "print_html_confirmed", "edit_ref_confirmed", "crash_reports_confirmed"
|
||||
"welcome", "show_html_confirmed", "show_images_confirmed", "print_html_confirmed", "edit_ref_confirmed", "crash_reports_asked"
|
||||
};
|
||||
|
||||
@Override
|
||||
@@ -186,7 +186,10 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
swCrashReports.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("crash_reports", checked).apply();
|
||||
prefs.edit()
|
||||
.remove("crash_reports_asked")
|
||||
.putBoolean("crash_reports", checked)
|
||||
.apply();
|
||||
if (checked)
|
||||
Bugsnag.startSession();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user