Minor improvements to phrasing in detail view

This commit is contained in:
Christopher Makarem 2024-08-28 17:27:11 -07:00
parent b01a282928
commit cfa784f6c9
2 changed files with 4 additions and 4 deletions

View File

@ -44,14 +44,14 @@ class AssetStateInfo extends ConsumerWidget {
(user == null)
? storageText(asset)
: isInAlbum
? user.name
: "storage_asset_partner".tr(),
? "album_thumbnail_shared_by".tr(args: [user.name])
: user.name,
style: context.textTheme.labelLarge,
),
subtitle: (user == null || isInAlbum)
? null
: Text(
user.name,
"storage_asset_partner".tr(),
style: context.textTheme.bodySmall,
),
);

View File

@ -109,7 +109,7 @@ class GalleryAppBar extends ConsumerWidget {
heightFactor: 0.8,
child: Text(
isInAlbum
? "album_thumbnail_shared_by".tr(args: [":"])
? "album_thumbnail_shared_by".tr(args: [""])
: "partner_sharing_dialog_title".tr(),
style: const TextStyle(
fontSize: 16,