This commit is contained in:
guozhigq
2024-09-18 22:17:06 +08:00
parent 8f6fe042cd
commit 476fef8877

View File

@ -366,7 +366,8 @@ class _MinePageState extends State<MinePage>
} else {
// 骨架屏
return Obx(
() => ListView.builder(
() => ctr.favFolderData.value.list != null
? ListView.builder(
scrollDirection: Axis.horizontal,
itemCount: ctr.favFolderData.value.list!.length,
itemBuilder: (context, index) {
@ -375,7 +376,8 @@ class _MinePageState extends State<MinePage>
index: index,
);
},
),
)
: const SizedBox(),
);
}
},
@ -391,7 +393,7 @@ class _MinePageState extends State<MinePage>
String title,
) {
return ListTile(
onTap: () {},
onTap: () => Get.toNamed('/fav'),
leading: null,
dense: true,
title: Padding(