Added host check on submit
This commit is contained in:
parent
924a3613f9
commit
00db49f3e8
|
@ -304,6 +304,10 @@ class _ScreenSettingsState extends State<ScreenSettings> {
|
|||
controller: hostInputController,
|
||||
keyboardType: TextInputType.url,
|
||||
readOnly: useHost,
|
||||
onSubmitted: (value) {
|
||||
HapticFeedback.selectionClick();
|
||||
checkHost();
|
||||
},
|
||||
decoration: InputDecoration(
|
||||
labelText: AppLocalizations.of(context)!.settingsHost,
|
||||
hintText: "http://localhost:11434",
|
||||
|
|
Loading…
Reference in New Issue