mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-11 08:20:49 -07:00
[Setup] Added build.yaml and check.yaml (#1)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
226686eb18
commit
7b3e733b76
112 changed files with 3926 additions and 3784 deletions
|
|
@ -72,7 +72,7 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
SortingOptions.parentalRating => overview.parentalRating != null
|
||||
? Row(
|
||||
children: [
|
||||
Icon(
|
||||
const Icon(
|
||||
IconsaxBold.star_1,
|
||||
size: 14,
|
||||
color: Colors.yellowAccent,
|
||||
|
|
@ -85,7 +85,7 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
SortingOptions.communityRating => overview.communityRating != null
|
||||
? Row(
|
||||
children: [
|
||||
Icon(
|
||||
const Icon(
|
||||
IconsaxBold.star_1,
|
||||
size: 14,
|
||||
color: Colors.yellowAccent,
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ class EpisodeModel extends ItemStreamModel with EpisodeModelMappable {
|
|||
images: images,
|
||||
childCount: childCount,
|
||||
primaryRatio: primaryRatio,
|
||||
userData: UserData(),
|
||||
userData: const UserData(),
|
||||
);
|
||||
|
||||
@override
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class UserData with UserDataMappable {
|
|||
|
||||
factory UserData.fromDto(dto.UserItemDataDto? dto) {
|
||||
if (dto == null) {
|
||||
return UserData();
|
||||
return const UserData();
|
||||
}
|
||||
return UserData(
|
||||
isFavourite: dto.isFavorite ?? false,
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ class SeasonModel extends ItemBaseModel with SeasonModelMappable {
|
|||
images: images,
|
||||
childCount: childCount,
|
||||
primaryRatio: primaryRatio,
|
||||
userData: UserData(),
|
||||
userData: const UserData(),
|
||||
);
|
||||
|
||||
static List<SeasonModel> seasonsFromDto(List<dto.BaseItemDto>? dto, Ref ref) {
|
||||
|
|
|
|||
|
|
@ -113,5 +113,5 @@ class Vector2 {
|
|||
@override
|
||||
int get hashCode => x.hashCode ^ y.hashCode;
|
||||
|
||||
static fromPosition(Offset windowPosition) => Vector2(x: windowPosition.dx, y: windowPosition.dy);
|
||||
static Vector2 fromPosition(Offset windowPosition) => Vector2(x: windowPosition.dx, y: windowPosition.dy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue