fix
This commit is contained in:
parent
8f0cb0ada2
commit
027f7b1672
@ -3,7 +3,7 @@ import { webSocketManager } from "@/lib/websocket-util";
|
|||||||
import { Message } from "@/types/ask";
|
import { Message } from "@/types/ask";
|
||||||
import { Dispatch, SetStateAction } from "react";
|
import { Dispatch, SetStateAction } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Dimensions, Image, ScrollView, StyleSheet, TouchableOpacity, View } from 'react-native';
|
import { Dimensions, Image, StyleSheet, TouchableOpacity, View } from 'react-native';
|
||||||
import { createNewConversation } from "./utils";
|
import { createNewConversation } from "./utils";
|
||||||
|
|
||||||
interface AskHelloProps {
|
interface AskHelloProps {
|
||||||
@ -48,7 +48,7 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<View className="flex-1 bg-white w-full">
|
<View className="flex-1 bg-white w-full">
|
||||||
<ScrollView
|
{/* <ScrollView
|
||||||
contentContainerStyle={{
|
contentContainerStyle={{
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
paddingHorizontal: 8,
|
paddingHorizontal: 8,
|
||||||
@ -56,7 +56,7 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
|||||||
}}
|
}}
|
||||||
keyboardDismissMode="interactive"
|
keyboardDismissMode="interactive"
|
||||||
keyboardShouldPersistTaps="handled"
|
keyboardShouldPersistTaps="handled"
|
||||||
>
|
> */}
|
||||||
<View className="items-center">
|
<View className="items-center">
|
||||||
<ThemedText style={{ fontSize: 32, fontWeight: 'bold', textAlign: 'center', lineHeight: 40, }}>
|
<ThemedText style={{ fontSize: 32, fontWeight: 'bold', textAlign: 'center', lineHeight: 40, }}>
|
||||||
{t('ask.hi', { ns: 'ask' })}
|
{t('ask.hi', { ns: 'ask' })}
|
||||||
@ -95,8 +95,8 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
|||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
{/* </ScrollView> */}
|
||||||
</View>
|
</View >
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user