Fix wrong photos count in tag browser

This commit is contained in:
Ming Ming 2022-08-22 02:15:47 +08:00
parent 8586f7574f
commit 98508c971a

View file

@ -193,8 +193,7 @@ class _TagBrowserState extends State<TagBrowser>
if (state is! ListTagFileBlocLoading &&
!_buildItemQueue.isProcessing)
Text(
L10n.global()
.personPhotoCountText(itemStreamListItems.length),
L10n.global().personPhotoCountText(_backingFiles.length),
style: TextStyle(
color: AppTheme.getSecondaryTextColor(context),
fontSize: 12,