mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 15:55:17 -05:00
refactor: use t instead of tr
This commit is contained in:
parent
9fc93ab312
commit
b456f9dda7
@ -317,7 +317,7 @@ class _SortButtonState extends ConsumerState<_SortButton> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
sortMode.label.tr(),
|
sortMode.label.t(context: context),
|
||||||
style: context.textTheme.titleSmall?.copyWith(
|
style: context.textTheme.titleSmall?.copyWith(
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: albumSortOption == sortMode
|
color: albumSortOption == sortMode
|
||||||
@ -346,7 +346,7 @@ class _SortButtonState extends ConsumerState<_SortButton> {
|
|||||||
: const Icon(Icons.keyboard_arrow_up_rounded),
|
: const Icon(Icons.keyboard_arrow_up_rounded),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
albumSortOption.label.tr(),
|
albumSortOption.label.t(context: context),
|
||||||
style: context.textTheme.bodyLarge?.copyWith(
|
style: context.textTheme.bodyLarge?.copyWith(
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
color: context.colorScheme.onSurface.withAlpha(225),
|
color: context.colorScheme.onSurface.withAlpha(225),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user