mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Display number on local favorites.
This commit is contained in:
@@ -823,6 +823,20 @@ class _ImageFavoritesState extends State<ImageFavorites> {
|
||||
Center(
|
||||
child: Text('Image Favorites'.tl, style: ts.s18),
|
||||
),
|
||||
if (hasData)
|
||||
Container(
|
||||
margin: const EdgeInsets.symmetric(horizontal: 8),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 8, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.secondaryContainer,
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: Text(
|
||||
imageFavoritesCompute!.count.toString(),
|
||||
style: ts.s12,
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
const Icon(Icons.arrow_right),
|
||||
],
|
||||
|
Reference in New Issue
Block a user