diff --git a/app/(tabs)/generate.tsx b/app/(tabs)/generate.tsx
index 3cc0b71..0fee512 100644
--- a/app/(tabs)/generate.tsx
+++ b/app/(tabs)/generate.tsx
@@ -31,11 +31,10 @@ type Template = {
* ========================= */
const Generate = observer(function Generate() {
const router = useRouter()
- const env = process.env.EXPO_PUBLIC_ENV
const { user, isAuthenticated } = userStore
- const [prompt, setPrompt] = useState(`${env} update`)
+ const [prompt, setPrompt] = useState(`输入提示词`)
const [selectedTemplateId, setSelectedTemplateId] = useState('')
const [meImg, setMeImg] = useState({ uri: '', url: '' })
const [friendImg, setFriendImg] = useState({ uri: '', url: '' })
@@ -268,7 +267,7 @@ const Generate = observer(function Generate() {
onPickMe={onPickMe}
selectedTemplate={selectedTemplate}
/>
- {!!textCount && }
+
@@ -417,9 +416,10 @@ const UploadSection = memo(function UploadSection({
type PromptSectionProps = {
prompt: string
+ editable?: boolean
onChangePrompt: (v: string) => void
}
-const PromptSection = memo(function PromptSection({ prompt, onChangePrompt }) {
+const PromptSection = memo(function PromptSection({ prompt, onChangePrompt, editable = true }) {
return (
@@ -428,13 +428,15 @@ const PromptSection = memo(function PromptSection({ prompt,
-
+