remain visibility when editing

This commit is contained in:
Y32Gcnte8z 2022-09-15 22:34:59 +08:00
parent 8aeda56fc8
commit 96040e15fd
No known key found for this signature in database
GPG Key ID: 17F7AF3BFD9647CA
1 changed files with 4 additions and 0 deletions

View File

@ -371,6 +371,10 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
attachmentsView.addView(createMediaAttachmentView(att)); attachmentsView.addView(createMediaAttachmentView(att));
} }
} }
if(editingStatus!=null && editingStatus.visibility!=null) {
statusVisibility=editingStatus.visibility;
}
updateVisibilityIcon(); updateVisibilityIcon();
autocompleteViewController=new ComposeAutocompleteViewController(getActivity(), accountID); autocompleteViewController=new ComposeAutocompleteViewController(getActivity(), accountID);