Save draft when redrafting a post (#1744)
This commit is contained in:
parent
26a051220b
commit
e237639adc
4 changed files with 8 additions and 4 deletions
|
|
@ -457,6 +457,7 @@ public abstract class SFragment extends BaseFragment implements Injectable {
|
|||
composeOptions.setContentWarning(deletedStatus.getSpoilerText());
|
||||
composeOptions.setMediaAttachments(deletedStatus.getAttachments());
|
||||
composeOptions.setSensitive(deletedStatus.getSensitive());
|
||||
composeOptions.setModifiedInitialState(true);
|
||||
if (deletedStatus.getPoll() != null) {
|
||||
composeOptions.setPoll(deletedStatus.getPoll().toNewPoll(deletedStatus.getCreatedAt()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue