1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-15 07:14:42 +02:00

feat(mobile): add labels to app bar buttons (#7865)

This commit is contained in:
Ben Basten
2024-03-12 15:12:11 +00:00
committed by GitHub
parent 7489db9481
commit 727a8cd715
3 changed files with 8 additions and 2 deletions

View File

@ -194,9 +194,10 @@ class LibraryPage extends HookConsumerWidget {
? InkWell(
onTap: () => context.pushRoute(const TrashRoute()),
borderRadius: const BorderRadius.all(Radius.circular(12)),
child: const Icon(
child: Icon(
Icons.delete_rounded,
size: 25,
semanticLabel: 'profile_drawer_trash'.tr(),
),
)
: null;

View File

@ -212,9 +212,10 @@ class SharingPage extends HookConsumerWidget {
return InkWell(
onTap: () => context.pushRoute(const PartnerRoute()),
borderRadius: const BorderRadius.all(Radius.circular(12)),
child: const Icon(
child: Icon(
Icons.swap_horizontal_circle_rounded,
size: 25,
semanticLabel: 'partner_page_title'.tr(),
),
);
}