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

Commit

Permalink
Fix Akkoma preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacocococo committed Feb 10, 2024
1 parent f7dfebc commit c6d3ab2
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c6d3ab2

Please sign in to comment.