0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

fix(mobile): Cannot type date format on Samsung phone (#15430)

* fix(mobile): Cannot type date format on Samsung phone

* use calendar
This commit is contained in:
Alex 2025-01-18 15:56:18 -06:00 committed by GitHub
parent 0f803a4f5e
commit d249b63c99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,6 @@
{
"start_date": "Start date",
"end_date": "End date",
"action_common_back": "Back",
"action_common_cancel": "Cancel",
"action_common_clear": "Clear",

View file

@ -275,7 +275,9 @@ class SearchPage extends HookConsumerWidget {
errorInvalidText: 'invalid_date'.tr(),
fieldStartHintText: 'start_date'.tr(),
fieldEndHintText: 'end_date'.tr(),
initialEntryMode: DatePickerEntryMode.input,
initialEntryMode: DatePickerEntryMode.calendar,
keyboardType: TextInputType.text,
locale: context.locale,
);
if (date == null) {