fix: 修复文件上传图标

This commit is contained in:
wanglihui 2023-11-26 20:18:43 +08:00
parent b2fbc02e8a
commit 7e43173022
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg t="1701000688297" class="icon" viewBox="0 0 1194 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="4879"
xmlns:xlink="http://www.w3.org/1999/xlink" width="23.3203125" height="20">
<path d="M1064.021333 157.354667h-564.906666L440.490667 47.445333A74.581333 74.581333 0 0 0 374.613333 8.021333H130.645333a74.752 74.752 0 0 0-74.666666 74.666667V941.226667c0 41.216 33.536 74.666667 74.666666 74.666666H1064.106667a74.752 74.752 0 0 0 74.666666-74.666666V232.106667a74.752 74.752 0 0 0-74.666666-74.666667zM130.56 82.688H374.613333l79.872 149.333333h609.621334v114.346667l-1.450667-0.170667H132.096l-1.450667 0.085334V82.602667z m0 858.624V829.44l1.450667-408.490667 931.84 1.365334v407.04h0.170666v112.042666H130.56z" fill="#E46342" p-id="4880"></path>
</svg>

After

Width:  |  Height:  |  Size: 915 B

View File

@ -343,7 +343,7 @@ export default class BaseModule implements IModule {
}) })
WKApp.endpoints.registerChatToolbar("chattoolbar.image", (ctx) => { WKApp.endpoints.registerChatToolbar("chattoolbar.image", (ctx) => {
return <ImageToolbar icon={require("./assets/toolbars/func_screenshot.svg").default} conversationContext={ctx}></ImageToolbar> return <ImageToolbar icon={require("./assets/toolbars/func_file.svg").default} conversationContext={ctx}></ImageToolbar>
}) })