1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(mobile): add label for expire after in shared link edit page (#4920)

Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2023-11-09 14:36:57 +00:00 committed by GitHub
parent 5db73c5c5c
commit 5c602bf4d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -316,6 +316,7 @@
"shared_link_edit_description": "Description",
"shared_link_edit_description_hint": "Enter the share description",
"shared_link_edit_password": "Password",
"shared_link_edit_expire_after": "Expire after",
"shared_link_edit_password_hint": "Enter the share password",
"shared_link_edit_show_meta": "Show metadata",
"shared_link_edit_submit_button": "Update link",

View file

@ -206,6 +206,13 @@ class SharedLinkEditPage extends HookConsumerWidget {
Widget buildExpiryAfterButton() {
return DropdownMenu(
label: Text(
"shared_link_edit_expire_after",
style: TextStyle(
fontWeight: FontWeight.bold,
color: themeData.primaryColor,
),
).tr(),
enableSearch: false,
enableFilter: false,
width: MediaQuery.of(context).size.width - 40,