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(
dimension: 120,
child: CircleAvatar(
backgroundColor: Colors.grey,
backgroundColor: Colors.white,
backgroundImage: profileBloc.image == null
? null
: FileImage(profileBloc.image!),
@@ -57,8 +57,8 @@ class ProfileView extends StatelessWidget {
child: Image.memory(
HomeCubit.user!.profilePicture!,
fit: BoxFit.cover,
width: 110,
height: 110,
width: 120,
height: 120,
),
)
: null,