mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 09:17:56 +00:00
profile page fix bugs
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user