clear touch listeners when updating suggestions, fixes #164

This commit is contained in:
Helium314 2023-09-16 20:29:39 +02:00
parent 5861c892bf
commit 4377effa9e

View file

@ -236,6 +236,9 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
removeAllDebugInfoViews();
mStripVisibilityGroup.showSuggestionsStrip();
dismissMoreSuggestionsPanel();
for (final TextView word : mWordViews) {
word.setOnTouchListener(null);
}
}
private void removeAllDebugInfoViews() {