Ask for reporting in unified inbox only

pull/161/head
M66B 5 years ago
parent 38b26d9baf
commit 03954620f9

@ -2347,6 +2347,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
};
private void checkReporting() {
if (viewType == AdapterMessage.ViewType.UNIFIED) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
if (prefs.getBoolean("crash_reports", false) ||
prefs.getBoolean("crash_reports_asked", false))
@ -2363,6 +2364,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
snackbar.show();
}
}
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {

Loading…
Cancel
Save