mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
RRect for faces in file info
This commit is contained in:
parent
3b2fa3ba10
commit
a00a8bb0a9
@ -75,7 +75,8 @@ class FaceWidget extends StatelessWidget {
|
||||
},
|
||||
child: Column(
|
||||
children: [
|
||||
ClipOval(
|
||||
ClipRRect(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(5)),
|
||||
child: SizedBox(
|
||||
width: 60,
|
||||
height: 60,
|
||||
@ -98,7 +99,8 @@ class FaceWidget extends StatelessWidget {
|
||||
);
|
||||
} else {
|
||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
return const ClipOval(
|
||||
return const ClipRRect(
|
||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||
child: SizedBox(
|
||||
width: 60, // Ensure consistent sizing
|
||||
height: 60,
|
||||
@ -109,7 +111,8 @@ class FaceWidget extends StatelessWidget {
|
||||
if (snapshot.hasError) {
|
||||
log('Error getting face: ${snapshot.error}');
|
||||
}
|
||||
return const ClipOval(
|
||||
return const ClipRRect(
|
||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||
child: SizedBox(
|
||||
width: 60, // Ensure consistent sizing
|
||||
height: 60,
|
||||
|
Loading…
x
Reference in New Issue
Block a user