diff --git a/lib/Main_Screens/Community_HomePage/TagsdDetailScreen.dart b/lib/Main_Screens/Community_HomePage/TagsdDetailScreen.dart index ae0b02b..67065be 100644 --- a/lib/Main_Screens/Community_HomePage/TagsdDetailScreen.dart +++ b/lib/Main_Screens/Community_HomePage/TagsdDetailScreen.dart @@ -282,7 +282,7 @@ class _PopularTabState extends State { fit: BoxFit.fill), ), ), - tagpopulardetailobj!.data.isEmpty + commonobjmodel!.data.isEmpty ? Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -310,7 +310,7 @@ class _PopularTabState extends State { itemBuilder: (context, index) { var timeAgo = ConvertServerDateToUserDate() .convertServerDateToReadableFormate( - tagpopulardetailobj!.data[index].createdAt + commonobjmodel!.data[index].createdAt .toString()); return Column( @@ -513,7 +513,7 @@ class _LatestTabState extends State { fit: BoxFit.fill), ), ), - tagdetailobj!.data.isEmpty + commonobjmodel!.data.isEmpty ? Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -541,7 +541,7 @@ class _LatestTabState extends State { itemBuilder: (context, index) { var timeAgo = ConvertServerDateToUserDate() .convertServerDateToReadableFormate( - tagdetailobj!.data[index].createdAt + commonobjmodel!.data[index].createdAt .toString()); return Column( diff --git a/lib/sidemenu/Community/MyCommunity/View/CommunityDetails.dart b/lib/sidemenu/Community/MyCommunity/View/CommunityDetails.dart index 03f156e..2fdd5dd 100644 --- a/lib/sidemenu/Community/MyCommunity/View/CommunityDetails.dart +++ b/lib/sidemenu/Community/MyCommunity/View/CommunityDetails.dart @@ -816,7 +816,7 @@ class _PostsTabState extends State { fit: BoxFit.fill), ), ), - compostobj!.data.isEmpty + commonobjmodel!.data.isEmpty ? Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -844,7 +844,7 @@ class _PostsTabState extends State { itemBuilder: (context, index) { var timeAgo = ConvertServerDateToUserDate() .convertServerDateToReadableFormate( - compostobj!.data[index].createdAt + commonobjmodel!.data[index].createdAt .toString()); return Column(