From 34206005b0a31b4663d0ac43b20cfb8dfd51114c Mon Sep 17 00:00:00 2001 From: ACh Sulfate Date: Wed, 8 Jan 2025 21:32:00 +0800 Subject: [PATCH] chore: refine FileShareExtHook and SharePicExtHook description --- app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java | 6 ++++++ app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java b/app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java index ee7d5fd9eb..a1aac073ae 100644 --- a/app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java +++ b/app/src/main/java/cc/ioctl/hook/msg/FileShareExtHook.java @@ -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() { diff --git a/app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java b/app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java index 22aca9712f..5cf45fd0d1 100644 --- a/app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java +++ b/app/src/main/java/cc/ioctl/hook/msg/SharePicExtHook.java @@ -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();