fix: 调整追剧加号卡片顺序
This commit is contained in:
1 parent
af828d2c46
commit
091ea358bd
3 files changed
+9
-2
No files matched your search
@@ -269,10 +269,10 @@ class _FavoritesGrid extends StatelessWidget {
|
||||
itemCount: controller.cards.length + 1,
|
||||
empty: const SizedBox.shrink(),
|
||||
itemBuilder: (context, index) {
|
||||
if (index == 0) {
|
||||
if (index == controller.cards.length) {
|
||||
return FollowingAddCard(onTap: onGoHome);
|
||||
}
|
||||
final drama = controller.cards[index - 1];
|
||||
final drama = controller.cards[index];
|
||||
final episode = drama.episodes.isEmpty
|
||||
? 1
|
||||
: drama.episodes.first.number;
|
||||
|
||||
Reference in new issue
Block a user