Synthesize default option for custom value in button grid
1 files changed, 4 insertions(+), 0 deletions(-) M src/main/java/eu/siacs/conversations/entities/Conversation.java
M src/main/java/eu/siacs/conversations/entities/Conversation.java => src/main/java/eu/siacs/conversations/entities/Conversation.java +4 -0
@@ 1946,6 1946,10 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl break; } } if (defaultOption == null && !mValue.getContent().equals("")) { // Synthesize default option for custom value defaultOption = new Option(mValue.getContent(), mValue.getContent()); } if (defaultOption == null) { binding.defaultButton.setVisibility(View.GONE); } else {