Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 251df778 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 4521549 - Crash in ScrollingTabContainerView, when using a tab

with null text

Change-Id: I6c287c95bafa732018048c11933ddba82fa26d9f
parent 146a0103
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -236,8 +236,9 @@ public class ScrollingTabContainerView extends HorizontalScrollView {
                    }
                    mTextView.setText(text);
                    mTextView.setVisibility(VISIBLE);
                } else {
                } else if (mTextView != null) {
                    mTextView.setVisibility(GONE);
                    mTextView.setText(null);
                }
            }
        }