This commit is contained in:
Junhui Chen 2025-08-09 11:12:42 +08:00
parent 4e755b8f10
commit a7b6aeeb31

View File

@ -2,7 +2,7 @@ import { ThemedText } from "@/components/ThemedText";
import { Message } from "@/types/ask";
import { Dispatch, SetStateAction, useCallback, useRef } from "react";
import { useTranslation } from "react-i18next";
import { Image, StyleSheet, useWindowDimensions, View } from 'react-native';
import { StyleSheet, View } from 'react-native';
import { createNewConversation } from "./utils";
interface AskHelloProps {
@ -12,7 +12,7 @@ interface AskHelloProps {
}
export default function AskHello({ setUserMessages, setConversationId, setIsHello }: AskHelloProps) {
const { t } = useTranslation();
const { width, height } = useWindowDimensions();
// const { width, height } = useWindowDimensions();
//
const inFlightRef = useRef(false);
@ -88,9 +88,9 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
{"\n"}
{t('ask.iAmMemo', { ns: 'ask' })}
</ThemedText>
<View>
{/* <View>
<Image source={require('@/assets/images/png/icon/ip.png')} style={{ width: width * 0.5, height: height * 0.3 }} />
</View>
</View> */}
<ThemedText className="!text-textPrimary text-center -mt-10" style={{ fontSize: 16 }}>
{t('ask.ready', { ns: 'ask' })}
{"\n"}