~singpolyma/cheogram-android

fb970d00f2baa397accc7001894b899ee4bb76f9 — Stephen Paul Weber 10 months ago ce34700
Fix NPE
1 files changed, 1 insertions(+), 1 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 +1 -1
@@ 1392,7 1392,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl

            if (pager.getChildAt(0) != null) page1 = pager.getChildAt(0);
            if (pager.getChildAt(1) != null) page2 = pager.getChildAt(1);
            if (page2.findViewById(R.id.commands_view) == null) {
            if (page2 != null && page2.findViewById(R.id.commands_view) == null) {
                page1 = null;
                page2 = null;
            }