profile page fix bugs

This commit is contained in:
mohammad
2024-07-25 16:28:46 +03:00
parent 00199dda90
commit b9432c3de3
@@ -46,7 +46,7 @@ class ProfileView extends StatelessWidget {
child: SizedBox.square( child: SizedBox.square(
dimension: 120, dimension: 120,
child: CircleAvatar( child: CircleAvatar(
backgroundColor: Colors.grey, backgroundColor: Colors.white,
backgroundImage: profileBloc.image == null backgroundImage: profileBloc.image == null
? null ? null
: FileImage(profileBloc.image!), : FileImage(profileBloc.image!),
@@ -57,8 +57,8 @@ class ProfileView extends StatelessWidget {
child: Image.memory( child: Image.memory(
HomeCubit.user!.profilePicture!, HomeCubit.user!.profilePicture!,
fit: BoxFit.cover, fit: BoxFit.cover,
width: 110, width: 120,
height: 110, height: 120,
), ),
) )
: null, : null,