Merge pull request #288 from sk22/fix-editing-visibility

Fix wrong visibility displayed when editing
This commit is contained in:
Gregory K 2022-11-04 07:02:19 +03:00 committed by GitHub
commit b5e229a84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);