code clean up
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user