handle null error in profile
This commit is contained in:
@@ -65,6 +65,10 @@ class _MobileProfilePageState extends State<MobileProfilePage> {
|
||||
return Center(child: Text(viewModel.errorMessage!));
|
||||
}
|
||||
|
||||
if (viewModel.companyProfileData == null) {
|
||||
return Center(child: Text(AppStrings.noData));
|
||||
}
|
||||
|
||||
return Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 24.0.w(),
|
||||
|
||||
Reference in New Issue
Block a user