mirror of https://github.com/M66B/FairEmail.git
Snooze is a pro feature
This commit is contained in:
parent
ee52526adc
commit
2ad16ae6c5
|
@ -2067,7 +2067,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
else if (EntityMessage.SWIPE_ACTION_FLAG.equals(action))
|
else if (EntityMessage.SWIPE_ACTION_FLAG.equals(action))
|
||||||
onActionFlagSelection(!message.ui_flagged, null, message.id);
|
onActionFlagSelection(!message.ui_flagged, null, message.id);
|
||||||
else if (EntityMessage.SWIPE_ACTION_SNOOZE.equals(action))
|
else if (EntityMessage.SWIPE_ACTION_SNOOZE.equals(action))
|
||||||
|
if (ActivityBilling.isPro(getContext()))
|
||||||
onActionSnooze(message);
|
onActionSnooze(message);
|
||||||
|
else {
|
||||||
|
adapter.notifyItemChanged(pos);
|
||||||
|
startActivity(new Intent(getContext(), ActivityBilling.class));
|
||||||
|
}
|
||||||
else if (EntityMessage.SWIPE_ACTION_HIDE.equals(action))
|
else if (EntityMessage.SWIPE_ACTION_HIDE.equals(action))
|
||||||
onActionHide(message);
|
onActionHide(message);
|
||||||
else if (EntityMessage.SWIPE_ACTION_MOVE.equals(action)) {
|
else if (EntityMessage.SWIPE_ACTION_MOVE.equals(action)) {
|
||||||
|
|
Loading…
Reference in New Issue