Skip to content

High performance self-hosted photo and video management solution.

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

Michel Heusschen86a658b891c6
diff --git a/mobile/lib/widgets/common/location_picker.dart b/mobile/lib/widgets/common/location_picker.dart
index 3be3ed428a..7d9b0750b2 100644
--- a/mobile/lib/widgets/common/location_picker.dart
+++ b/mobile/lib/widgets/common/location_picker.dart
@@ -141,7 +141,8 @@ class _ManualPickerInput extends HookWidget {
errorText: isValid.value ? null : errorText.tr(),
),
onEditingComplete: onEditingComplete,
- keyboardType: const TextInputType.numberWithOptions(decimal: true),
+ keyboardType:
+ const TextInputType.numberWithOptions(decimal: true, signed: true),
inputFormatters: [LengthLimitingTextInputFormatter(8)],
onTapOutside: (_) => focusNode.unfocus(),
);