Simplification

This commit is contained in:
M66B
2019-09-11 14:43:32 +02:00
parent 0b3db5db31
commit f5bf3515c5
3 changed files with 14 additions and 10 deletions

View File

@@ -4247,11 +4247,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
private void onSnooze(Bundle args) {
if (!ActivityBilling.isPro(getContext())) {
getContext().startActivity(new Intent(getContext(), ActivityBilling.class));
return;
}
long duration = args.getLong("duration");
long time = args.getLong("time");
args.putLong("wakeup", duration == 0 ? -1 : time);