fix: Small bugfixes

This commit is contained in:
PartyDonut 2025-10-09 14:46:53 +02:00
parent 5722defe34
commit dd98bad61c
2 changed files with 4 additions and 1 deletions

View file

@ -42,6 +42,7 @@ extension ItemBaseModelsBooleans on List<ItemBaseModel> {
}
FladderItemType get getMostCommonType {
if (isEmpty) return FladderItemType.movie;
final Map<FladderItemType, int> counts = {};
for (final item in this) {