mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
fix:Disable autocorrect in homeserver search field
This commit is contained in:
parent
e99b0fb8ac
commit
5c26657c22
@ -63,11 +63,11 @@ class SearchController extends State<Search> {
|
|||||||
cancelLabel: L10n.of(context)!.cancel,
|
cancelLabel: L10n.of(context)!.cancel,
|
||||||
textFields: [
|
textFields: [
|
||||||
DialogTextField(
|
DialogTextField(
|
||||||
prefixText: 'https://',
|
prefixText: 'https://',
|
||||||
hintText: Matrix.of(context).client.homeserver?.host,
|
hintText: Matrix.of(context).client.homeserver?.host,
|
||||||
initialText: server,
|
initialText: server,
|
||||||
keyboardType: TextInputType.url,
|
keyboardType: TextInputType.url,
|
||||||
)
|
autocorrect: false)
|
||||||
]);
|
]);
|
||||||
if (newServer == null) return;
|
if (newServer == null) return;
|
||||||
Store().setItem(_serverStoreNamespace, newServer.single);
|
Store().setItem(_serverStoreNamespace, newServer.single);
|
||||||
|
@ -7,7 +7,7 @@ environment:
|
|||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
adaptive_dialog: ^1.3.0
|
adaptive_dialog: ^1.5.1
|
||||||
adaptive_theme: ^2.3.1
|
adaptive_theme: ^2.3.1
|
||||||
animations: ^2.0.2
|
animations: ^2.0.2
|
||||||
blurhash_dart: ^1.1.0
|
blurhash_dart: ^1.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user