Skip to content

Commit

Permalink
chore: refine FileShareExtHook and SharePicExtHook description
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Jan 8, 2025
1 parent b650e5f commit 3420600
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ public String getDescription() {
return "[QQ>=8.8.80]为聊天文件菜单添加分享至其他应用";
}

@Nullable
@Override
public String[] getExtraSearchKeywords() {
return new String[]{"跨应用分享文件"};
}

@NonNull
@Override
public String[] getUiItemLocation() {
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public String[] getUiItemLocation() {
return FunctionEntryRouter.Locations.Auxiliary.MESSAGE_CATEGORY;
}

@Nullable
@Override
public String[] getExtraSearchKeywords() {
return new String[]{"跨应用分享图片"};
}

@Override
public boolean isAvailable() {
return !HostInfo.isTim();
Expand Down

0 comments on commit 3420600

Please sign in to comment.