Remove keyboardType for search's textField to enable swipe-type
This commit is contained in:
parent
d67efccf8c
commit
de062e8dbc
2 changed files with 5 additions and 4 deletions
|
@ -258,10 +258,12 @@ class _ZoomableImageState extends State<ZoomableImage>
|
|||
_isZooming &&
|
||||
_photoViewController.scale != null;
|
||||
ImageInfo? finalImageInfo;
|
||||
if(shouldFixPosition) {
|
||||
if (shouldFixPosition) {
|
||||
if (kDebugMode) {
|
||||
showToast(context,
|
||||
'Updating photo scale zooming: $_isZooming and scale: ${_photoViewController.scale}');
|
||||
showToast(
|
||||
context,
|
||||
'Updating photo scale zooming: $_isZooming and scale: ${_photoViewController.scale}',
|
||||
);
|
||||
}
|
||||
final prevImageInfo = await getImageInfo(previewImageProvider);
|
||||
finalImageInfo = await getImageInfo(finalImageProvider);
|
||||
|
|
|
@ -88,7 +88,6 @@ class _SearchWidgetState extends State<SearchWidget> {
|
|||
// Below parameters are to disable auto-suggestion
|
||||
enableSuggestions: false,
|
||||
autocorrect: false,
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
// Above parameters are to disable auto-suggestion
|
||||
decoration: InputDecoration(
|
||||
hintText: S.of(context).searchHintText,
|
||||
|
|
Loading…
Add table
Reference in a new issue