pull/160/head
M66B 5 years ago
parent 0606dac914
commit 85fa83faf8

@ -2307,7 +2307,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void onClick(View v) {
snackbar.dismiss();
new FragmentDialogReporting().show(getFragmentManager(), "first");
new FragmentDialogReporting().show(getFragmentManager(), "reporting");
}
});

@ -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

Loading…
Cancel
Save