1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00

fix(mobile): negative coordinate input (#11292)

* fix(mobile): negative coordinate input

* format
This commit is contained in:
Michel Heusschen 2024-07-26 15:37:29 +02:00 committed by GitHub
parent 536628ad95
commit 86a658b891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,8 @@ class _ManualPickerInput extends HookWidget {
errorText: isValid.value ? null : errorText.tr(), errorText: isValid.value ? null : errorText.tr(),
), ),
onEditingComplete: onEditingComplete, onEditingComplete: onEditingComplete,
keyboardType: const TextInputType.numberWithOptions(decimal: true), keyboardType:
const TextInputType.numberWithOptions(decimal: true, signed: true),
inputFormatters: [LengthLimitingTextInputFormatter(8)], inputFormatters: [LengthLimitingTextInputFormatter(8)],
onTapOutside: (_) => focusNode.unfocus(), onTapOutside: (_) => focusNode.unfocus(),
); );