|
|
@ -6650,9 +6650,13 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
EntityOperation.queue(context, draft, EntityOperation.SEND);
|
|
|
|
EntityOperation.queue(context, draft, EntityOperation.SEND);
|
|
|
|
|
|
|
|
|
|
|
|
final String feedback;
|
|
|
|
final String feedback;
|
|
|
|
if (draft.ui_snoozed == null)
|
|
|
|
if (draft.ui_snoozed == null) {
|
|
|
|
feedback = context.getString(R.string.title_queued);
|
|
|
|
boolean suitable = ConnectionHelper.getNetworkState(context).isSuitable();
|
|
|
|
else {
|
|
|
|
if (suitable)
|
|
|
|
|
|
|
|
feedback = context.getString(R.string.title_queued);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
feedback = context.getString(R.string.title_notification_waiting);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
DateFormat DTF = Helper.getDateTimeInstance(context);
|
|
|
|
DateFormat DTF = Helper.getDateTimeInstance(context);
|
|
|
|
feedback = context.getString(R.string.title_queued_at, DTF.format(draft.ui_snoozed));
|
|
|
|
feedback = context.getString(R.string.title_queued_at, DTF.format(draft.ui_snoozed));
|
|
|
|
}
|
|
|
|
}
|
|
|
|