Minor changes
This commit is contained in:
parent
0bf0b53a78
commit
f122075073
2 changed files with 6 additions and 5 deletions
|
@ -39,7 +39,7 @@ class AlbumListItemWidget extends StatelessWidget {
|
|||
showFavForAlbumOnly: true,
|
||||
)
|
||||
: const NoThumbnailWidget(
|
||||
hasBorder: false,
|
||||
addBorder: false,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -66,7 +66,8 @@ class AlbumListItemWidget extends StatelessWidget {
|
|||
} else {
|
||||
if (snapshot.hasError) {
|
||||
Logger("AlbumListItemWidget").severe(
|
||||
"Failed to fetch file count of collection id ${item.collection.id}",
|
||||
"Failed to fetch file count of collection",
|
||||
snapshot.error,
|
||||
);
|
||||
}
|
||||
return Text(
|
||||
|
|
|
@ -2,8 +2,8 @@ import 'package:flutter/material.dart';
|
|||
import 'package:photos/theme/ente_theme.dart';
|
||||
|
||||
class NoThumbnailWidget extends StatelessWidget {
|
||||
final bool hasBorder;
|
||||
const NoThumbnailWidget({this.hasBorder = true, Key? key}) : super(key: key);
|
||||
final bool addBorder;
|
||||
const NoThumbnailWidget({this.addBorder = true, Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -11,7 +11,7 @@ class NoThumbnailWidget extends StatelessWidget {
|
|||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(1),
|
||||
border: hasBorder
|
||||
border: addBorder
|
||||
? Border.all(
|
||||
color: enteColorScheme.strokeFaint,
|
||||
width: 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue