feat(飞书): 自动查看原图,自动发送原图 (#812)

* feat 【自动查看原图】

* feat 【自动发送原图】
This commit is contained in:
Kun Jinkao 2023-10-10 00:17:40 +08:00 committed by GitHub
parent 96aeaaaaae
commit 474281fcfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,30 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.ss.android.lark',
name: '飞书',
groups: [
{
enable: false,
key: 10,
name: '自动查看原图',
desc: '查看图片时自动点击【查看原图】',
activityIds:
'com.ss.android.lark.widget.photo.preview.PhotoPagerActivity',
quickFind: true,
rules: '[id="com.ss.android.lark:id/look_origin_icon"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12840528',
},
{
enable: false,
key: 11,
name: '自动发送原图',
desc: '发送图片时自动勾选【原图】',
activityIds: 'com.ss.android.lark.chatwindow.ChatWindowActivity',
quickFind: true,
rules:
'@View[id$="original_photo"][checked=false] + [id="com.ss.android.lark:id/original_label"][text="原图"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12840551',
},
],
});