fix(pixelfed): allow publishing comments without images on pixelfed
This commit is contained in:
parent
2cdc649b7d
commit
0b5588515e
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
|
|||
public void updatePublishButtonState(){
|
||||
uuid=null;
|
||||
if(GlobalUserPreferences.relocatePublishButton && publishButtonRelocated != null){
|
||||
publishButtonRelocated.setEnabled((!isInstancePixelfed() || !mediaViewController.isEmpty()) && (trimmedCharCount>0 || !mediaViewController.isEmpty()) && charCount<=charLimit && mediaViewController.getNonDoneAttachmentCount()==0 && (pollViewController.isEmpty() || pollViewController.getNonEmptyOptionsCount()>1));
|
||||
publishButtonRelocated.setEnabled(((!isInstancePixelfed() || replyTo != null) || !mediaViewController.isEmpty()) && (trimmedCharCount>0 || !mediaViewController.isEmpty()) && charCount<=charLimit && mediaViewController.getNonDoneAttachmentCount()==0 && (pollViewController.isEmpty() || pollViewController.getNonEmptyOptionsCount()>1));
|
||||
}
|
||||
|
||||
if(publishButton==null)
|
||||
|
|
Loading…
Add table
Reference in a new issue