~singpolyma/cheogram-android

69ce46f949649c8d1dd7d29420bf86a8be8e0a07 — Stephen Paul Weber 4 months ago eb8b8d6
NPE
1 files changed, 3 insertions(+), 3 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 +3 -3
@@ 1243,12 1243,12 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                sessions = new ArrayList<>();
                notifyDataSetChanged();
            }
            mTabs.setVisibility(View.VISIBLE);
            if (mTabs != null) mTabs.setVisibility(View.VISIBLE);
        }

        public void hide() {
            mPager.setCurrentItem(0);
            mTabs.setVisibility(View.GONE);
            if (mPager != null) mPager.setCurrentItem(0);
            if (mTabs != null) mTabs.setVisibility(View.GONE);
            sessions = null;
            notifyDataSetChanged();
        }