diff --git a/lib/view/Sidemenu/Sidemenu.dart b/lib/view/Sidemenu/Sidemenu.dart index 8462020..0d11845 100644 --- a/lib/view/Sidemenu/Sidemenu.dart +++ b/lib/view/Sidemenu/Sidemenu.dart @@ -120,10 +120,9 @@ class _SideMenuState extends State { height: 80.h, decoration: ShapeDecoration( image: DecorationImage( - image: NetworkImage( - - // ProfileObj!.data!.profilePhoto ?? - ""), + image: NetworkImage(ProfileObj!.data == null + ? "" + : ProfileObj!.data!.profilePhoto ?? ""), fit: BoxFit.fill, ), shape: OvalBorder(),