From c471acc2dd92103baa282137688ba4046519f243 Mon Sep 17 00:00:00 2001
From: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Date: Thu, 3 Apr 2025 10:34:53 +0800
Subject: [PATCH] fix: update view source content icon, close #3373
---
.../src/modules/command/commands/entry.tsx | 2 +-
apps/mobile/src/icons/web_cute_re.tsx | 24 +++++++++++++++++++
icons/mgc/web_cute_re.svg | 1 +
3 files changed, 26 insertions(+), 1 deletion(-)
create mode 100644 apps/mobile/src/icons/web_cute_re.tsx
create mode 100644 icons/mgc/web_cute_re.svg
diff --git a/apps/desktop/src/renderer/src/modules/command/commands/entry.tsx b/apps/desktop/src/renderer/src/modules/command/commands/entry.tsx
index 2763c793d..ae59c1677 100644
--- a/apps/desktop/src/renderer/src/modules/command/commands/entry.tsx
+++ b/apps/desktop/src/renderer/src/modules/command/commands/entry.tsx
@@ -229,7 +229,7 @@ export const useRegisterEntryCommands = () => {
{
id: COMMAND_ID.entry.viewSourceContent,
label: t("entry_actions.view_source_content"),
- icon: ,
+ icon: ,
run: ({ entryId }) => {
if (!getShowSourceContent()) {
const entry = useEntryStore.getState().flatMapEntries[entryId]
diff --git a/apps/mobile/src/icons/web_cute_re.tsx b/apps/mobile/src/icons/web_cute_re.tsx
new file mode 100644
index 000000000..6061cf694
--- /dev/null
+++ b/apps/mobile/src/icons/web_cute_re.tsx
@@ -0,0 +1,24 @@
+import * as React from "react"
+import Svg, { Path } from "react-native-svg"
+
+interface WebCuteReIconProps {
+ width?: number
+ height?: number
+ color?: string
+}
+
+export const WebCuteReIcon = ({
+ width = 24,
+ height = 24,
+ color = "#10161F",
+}: WebCuteReIconProps) => {
+ return (
+
+ )
+}
diff --git a/icons/mgc/web_cute_re.svg b/icons/mgc/web_cute_re.svg
new file mode 100644
index 000000000..8476cd209
--- /dev/null
+++ b/icons/mgc/web_cute_re.svg
@@ -0,0 +1 @@
+
\ No newline at end of file