File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
react-native/src/settings Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ import {
6060 getDefaultTextModels ,
6161 GPTModels ,
6262} from '../storage/Constants.ts' ;
63- import { showInfo } from '../chat/util/ToastUtils.ts' ;
6463import CustomTextInput from './CustomTextInput.tsx' ;
6564import { requestAllOllamaModels } from '../api/ollama-api.ts' ;
6665import TabButton from './TabButton' ;
@@ -219,14 +218,10 @@ function SettingsScreen(): React.JSX.Element {
219218 headerRight : ( ) => (
220219 < CustomHeaderRightButton
221220 onPress = { async ( ) => {
222- if ( apiUrl . length > 0 && apiKey . length > 0 ) {
223- navigation . navigate ( 'Bedrock' , {
224- sessionId : - 1 ,
225- tapIndex : - 1 ,
226- } ) ;
227- } else {
228- showInfo ( 'Please input your API URL and API Key' ) ;
229- }
221+ navigation . navigate ( 'Bedrock' , {
222+ sessionId : - 1 ,
223+ tapIndex : - 1 ,
224+ } ) ;
230225 } }
231226 imageSource = { require ( '../assets/done.png' ) }
232227 />
You can’t perform that action at this time.
0 commit comments