~singpolyma/cheogram-android

89ebd4554bea7c4447dd6616150489f1177ae44c — Stephen Paul Weber 8 months ago 59250df
Fix crash
1 files changed, 5 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java
M src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java => src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java +5 -1
@@ 740,7 740,11 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
        String initialSearchValue = mInitialSearchValue.pop();
        if (initialSearchValue != null) {
            mMenuSearchView.expandActionView();
            mSearchEditText.append(initialSearchValue);
            try {
                mSearchEditText.append(initialSearchValue);
            } catch (final StringIndexOutOfBoundsException e) {
                mSearchEditText.setText(initialSearchValue);
            }
            filter(initialSearchValue);
        }
        updateSearchViewHint();