Skip to content

Commit

Permalink
Minor improvements to phrasing in detail view
Browse files Browse the repository at this point in the history
  • Loading branch information
x24git committed Sep 6, 2024
1 parent b01a282 commit cfa784f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
);
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/widgets/asset_viewer/gallery_app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cfa784f

Please sign in to comment.