~singpolyma/cheogram-android

c2ff4404fce1ff2eb00de972f822652849c42774 — Stephen Paul Weber 1 year, 11 months ago 140f1c4
Use older method for android 5
1 files changed, 4 insertions(+), 4 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 -4
@@ 1570,9 1570,9 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                    if (field.error != null) {
                        binding.desc.setVisibility(View.VISIBLE);
                        binding.desc.setText(field.error);
                        binding.desc.setTextAppearance(R.style.TextAppearance_Conversations_Design_Error);
                        binding.desc.setTextAppearance(binding.getRoot().getContext(), R.style.TextAppearance_Conversations_Design_Error);
                    } else {
                        binding.desc.setTextAppearance(R.style.TextAppearance_Conversations_Status);
                        binding.desc.setTextAppearance(binding.getRoot().getContext(), R.style.TextAppearance_Conversations_Status);
                    }

                    mValue = field.getValue();


@@ 1644,9 1644,9 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                    if (field.error != null) {
                        binding.desc.setVisibility(View.VISIBLE);
                        binding.desc.setText(field.error);
                        binding.desc.setTextAppearance(R.style.TextAppearance_Conversations_Design_Error);
                        binding.desc.setTextAppearance(binding.getRoot().getContext(), R.style.TextAppearance_Conversations_Design_Error);
                    } else {
                        binding.desc.setTextAppearance(R.style.TextAppearance_Conversations_Status);
                        binding.desc.setTextAppearance(binding.getRoot().getContext(), R.style.TextAppearance_Conversations_Status);
                    }

                    mValue = field.getValue();