Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fix: Properly submit posts after previewing #979

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ private void actuallyPublish(boolean preview){
public void onSuccess(Status result){
if(preview){
openPreview(result);
uuid=null;
return;
}

Expand Down Expand Up @@ -1562,7 +1563,6 @@ private void buildContentTypePopup(View btn) {
}

contentTypePopup.setOnMenuItemClickListener(i->{
uuid=null;
int index=i.getItemId();
contentType=ContentType.values()[index];
btn.setSelected(index!=ContentType.UNSPECIFIED.ordinal() && index!=ContentType.PLAIN.ordinal());
Expand Down
Loading