From 00db49f3e80e1dafd0de9720f109dd7150079c70 Mon Sep 17 00:00:00 2001 From: JHubi1 Date: Wed, 5 Jun 2024 20:08:08 +0200 Subject: [PATCH] Added host check on submit --- lib/screen_settings.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/screen_settings.dart b/lib/screen_settings.dart index 2e11ae0..32574ce 100644 --- a/lib/screen_settings.dart +++ b/lib/screen_settings.dart @@ -304,6 +304,10 @@ class _ScreenSettingsState extends State { controller: hostInputController, keyboardType: TextInputType.url, readOnly: useHost, + onSubmitted: (value) { + HapticFeedback.selectionClick(); + checkHost(); + }, decoration: InputDecoration( labelText: AppLocalizations.of(context)!.settingsHost, hintText: "http://localhost:11434",