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 { Dispatch, SetStateAction } from "react";
|
||||
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";
|
||||
|
||||
interface AskHelloProps {
|
||||
@ -48,7 +48,7 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
||||
}
|
||||
return (
|
||||
<View className="flex-1 bg-white w-full">
|
||||
<ScrollView
|
||||
{/* <ScrollView
|
||||
contentContainerStyle={{
|
||||
flexGrow: 1,
|
||||
paddingHorizontal: 8,
|
||||
@ -56,7 +56,7 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
||||
}}
|
||||
keyboardDismissMode="interactive"
|
||||
keyboardShouldPersistTaps="handled"
|
||||
>
|
||||
> */}
|
||||
<View className="items-center">
|
||||
<ThemedText style={{ fontSize: 32, fontWeight: 'bold', textAlign: 'center', lineHeight: 40, }}>
|
||||
{t('ask.hi', { ns: 'ask' })}
|
||||
@ -95,7 +95,7 @@ export default function AskHello({ setUserMessages, setConversationId, setIsHell
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
</ScrollView>
|
||||
{/* </ScrollView> */}
|
||||
</View >
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user