remain visibility when editing

This commit is contained in:
Y32Gcnte8z 2022-09-15 22:34:59 +08:00 committed by sk
parent 98dafb4e49
commit 53f8f41d88
1 changed files with 4 additions and 0 deletions

View File

@ -365,6 +365,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);