Merge branch 'no-auto-correct-homeserver-in-search' into 'main'

fix: Disable autocorrect in discover homeserver adaptive dialog popup

Closes #515

See merge request famedly/fluffychat!846
This commit is contained in:
Krille Fear 2022-04-30 05:18:45 +00:00
commit 27275c5017
2 changed files with 6 additions and 6 deletions

View File

@ -63,11 +63,11 @@ class SearchController extends State<Search> {
cancelLabel: L10n.of(context)!.cancel,
textFields: [
DialogTextField(
prefixText: 'https://',
hintText: Matrix.of(context).client.homeserver?.host,
initialText: server,
keyboardType: TextInputType.url,
)
prefixText: 'https://',
hintText: Matrix.of(context).client.homeserver?.host,
initialText: server,
keyboardType: TextInputType.url,
autocorrect: false)
]);
if (newServer == null) return;
Store().setItem(_serverStoreNamespace, newServer.single);

View File

@ -7,7 +7,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
adaptive_dialog: ^1.3.0
adaptive_dialog: ^1.5.1
adaptive_theme: ^2.3.1
animations: ^2.0.2
blurhash_dart: ^1.1.0