Its a lot less broken than before
This commit is contained in:
@@ -299,9 +299,16 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
|
||||
sensitiveItem=view.findViewById(R.id.sensitive_item);
|
||||
replyText=view.findViewById(R.id.reply_text);
|
||||
|
||||
boolean smallStyle = getContext().getResources().getBoolean(R.bool.show_small_publish_button);
|
||||
|
||||
if(GlobalUserPreferences.relocatePublishButton){
|
||||
publishButton=view.findViewById(R.id.publish);
|
||||
publishButton.setText(editingStatus==null || redraftStatus ? R.string.publish : R.string.save);
|
||||
if(smallStyle){
|
||||
publishButton=view.findViewById(R.id.publishSmall);
|
||||
// publishButton.
|
||||
}else{
|
||||
publishButton=view.findViewById(R.id.publish);
|
||||
publishButton.setText(editingStatus==null || redraftStatus ? R.string.publish : R.string.save);
|
||||
}
|
||||
publishButton.setOnClickListener(this::onPublishClick);
|
||||
publishButton.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user