don't show sending failed dialog when sending was cancelled (#3226)
* don't show sending failed dialog when sending was cancelled * still mark cancelled statuses as failed but don't show alert
This commit is contained in:
parent
54c8b28f9d
commit
8cd4521e2f
3 changed files with 7 additions and 4 deletions
|
|
@ -271,6 +271,7 @@ class ComposeViewModel @Inject constructor(
|
|||
mediaFocus = mediaFocus,
|
||||
poll = poll.value,
|
||||
failedToSend = false,
|
||||
failedToSendAlert = false,
|
||||
scheduledAt = scheduledAt.value,
|
||||
language = postLanguage,
|
||||
statusId = originalStatusId,
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ class DraftHelper @Inject constructor(
|
|||
mediaFocus: List<Attachment.Focus?>,
|
||||
poll: NewPoll?,
|
||||
failedToSend: Boolean,
|
||||
failedToSendAlert: Boolean,
|
||||
scheduledAt: String?,
|
||||
language: String?,
|
||||
statusId: String?,
|
||||
|
|
@ -123,7 +124,7 @@ class DraftHelper @Inject constructor(
|
|||
attachments = attachments,
|
||||
poll = poll,
|
||||
failedToSend = failedToSend,
|
||||
failedToSendNew = failedToSend,
|
||||
failedToSendNew = failedToSendAlert,
|
||||
scheduledAt = scheduledAt,
|
||||
language = language,
|
||||
statusId = statusId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue