code clean up

This commit is contained in:
kishan06
2024-08-22 18:56:57 +05:30
parent 4a923fb7a7
commit 8936ea2bcf
2 changed files with 6 additions and 6 deletions

View File

@@ -282,7 +282,7 @@ class _PopularTabState extends State<PopularTab> {
fit: BoxFit.fill),
),
),
tagpopulardetailobj!.data.isEmpty
commonobjmodel!.data.isEmpty
? Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
@@ -310,7 +310,7 @@ class _PopularTabState extends State<PopularTab> {
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<LatestTab> {
fit: BoxFit.fill),
),
),
tagdetailobj!.data.isEmpty
commonobjmodel!.data.isEmpty
? Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
@@ -541,7 +541,7 @@ class _LatestTabState extends State<LatestTab> {
itemBuilder: (context, index) {
var timeAgo = ConvertServerDateToUserDate()
.convertServerDateToReadableFormate(
tagdetailobj!.data[index].createdAt
commonobjmodel!.data[index].createdAt
.toString());
return Column(

View File

@@ -816,7 +816,7 @@ class _PostsTabState extends State<PostsTab> {
fit: BoxFit.fill),
),
),
compostobj!.data.isEmpty
commonobjmodel!.data.isEmpty
? Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
@@ -844,7 +844,7 @@ class _PostsTabState extends State<PostsTab> {
itemBuilder: (context, index) {
var timeAgo = ConvertServerDateToUserDate()
.convertServerDateToReadableFormate(
compostobj!.data[index].createdAt
commonobjmodel!.data[index].createdAt
.toString());
return Column(