Skip to content

Commit

Permalink
fix: sticker panel wrong entrance
Browse files Browse the repository at this point in the history
Signed-off-by: Hicores <me@hicore.cc>
  • Loading branch information
Hicores committed Jul 22, 2023
1 parent 22fc91f commit 151c140
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ protected boolean initOnce() throws Exception {
new Class[]{Initiator.load("com.tencent.qqnt.aio.shortcutbar.a")}),
param -> {
ImageView imageView = (ImageView) param.getResult();
imageView.setOnLongClickListener(view -> {
ICreator.createPanel(view.getContext());
return true;
});
if ("表情".contentEquals(imageView.getContentDescription())){
imageView.setOnLongClickListener(view -> {
ICreator.createPanel(view.getContext());
return true;
});
}
});

//Hook for longClick msgItem
Expand Down

0 comments on commit 151c140

Please sign in to comment.