mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 10:58:50 +01:00
Fix confusing text for albums shared by you
This commit is contained in:
parent
dd93a9eb2a
commit
6a394cc93a
1 changed files with 4 additions and 2 deletions
|
@ -251,7 +251,9 @@ class _SharingBrowserState extends State<SharingBrowser> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
label: firstItem.album.name,
|
label: firstItem.album.name,
|
||||||
description: L10n.global().albumLastSharedByOthersDescription(
|
description: shares.first.share.uidOwner == widget.account.username
|
||||||
|
? L10n.global().fileLastSharedDescription(dateStr)
|
||||||
|
: L10n.global().albumLastSharedByOthersDescription(
|
||||||
shares.first.share.displaynameOwner, dateStr),
|
shares.first.share.displaynameOwner, dateStr),
|
||||||
trailing: Icon(
|
trailing: Icon(
|
||||||
Icons.photo_album_outlined,
|
Icons.photo_album_outlined,
|
||||||
|
|
Loading…
Reference in a new issue