Merge pull request #27 from Y32Gcnte8z/visibility

Retain visibility of status when editing
This commit is contained in:
Samuel Kaiser 2022-11-02 21:53:34 +01:00 committed by GitHub
commit 6274ab3384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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