mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
chore: Move to different iconsax library (#301)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
5b3d5b8900
commit
5578076fdb
71 changed files with 349 additions and 346 deletions
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:dart_mappable/dart_mappable.dart';
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:iconsax_plus/iconsax_plus.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:fladder/jellyfin/jellyfin_open_api.enums.swagger.dart';
|
||||
|
|
@ -72,7 +72,7 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
? Row(
|
||||
children: [
|
||||
const Icon(
|
||||
IconsaxBold.star_1,
|
||||
IconsaxPlusBold.star_1,
|
||||
size: 14,
|
||||
color: Colors.yellowAccent,
|
||||
),
|
||||
|
|
@ -85,7 +85,7 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
? Row(
|
||||
children: [
|
||||
const Icon(
|
||||
IconsaxBold.star_1,
|
||||
IconsaxPlusBold.star_1,
|
||||
size: 14,
|
||||
color: Colors.yellowAccent,
|
||||
),
|
||||
|
|
@ -234,72 +234,72 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
// Currently supported types
|
||||
enum FladderItemType {
|
||||
baseType(
|
||||
icon: IconsaxOutline.folder_2,
|
||||
selectedicon: IconsaxBold.folder_2,
|
||||
icon: IconsaxPlusLinear.folder_2,
|
||||
selectedicon: IconsaxPlusBold.folder_2,
|
||||
),
|
||||
audio(
|
||||
icon: IconsaxOutline.music,
|
||||
selectedicon: IconsaxBold.music,
|
||||
icon: IconsaxPlusLinear.music,
|
||||
selectedicon: IconsaxPlusBold.music,
|
||||
),
|
||||
musicAlbum(
|
||||
icon: IconsaxOutline.music,
|
||||
selectedicon: IconsaxBold.music,
|
||||
icon: IconsaxPlusLinear.music,
|
||||
selectedicon: IconsaxPlusBold.music,
|
||||
),
|
||||
musicVideo(
|
||||
icon: IconsaxOutline.music,
|
||||
selectedicon: IconsaxBold.music,
|
||||
icon: IconsaxPlusLinear.music,
|
||||
selectedicon: IconsaxPlusBold.music,
|
||||
),
|
||||
collectionFolder(
|
||||
icon: IconsaxOutline.music,
|
||||
selectedicon: IconsaxBold.music,
|
||||
icon: IconsaxPlusLinear.music,
|
||||
selectedicon: IconsaxPlusBold.music,
|
||||
),
|
||||
video(
|
||||
icon: IconsaxOutline.video,
|
||||
selectedicon: IconsaxBold.video,
|
||||
icon: IconsaxPlusLinear.video,
|
||||
selectedicon: IconsaxPlusBold.video,
|
||||
),
|
||||
movie(
|
||||
icon: IconsaxOutline.video_horizontal,
|
||||
selectedicon: IconsaxBold.video_horizontal,
|
||||
icon: IconsaxPlusLinear.video_horizontal,
|
||||
selectedicon: IconsaxPlusBold.video_horizontal,
|
||||
),
|
||||
series(
|
||||
icon: IconsaxOutline.video_vertical,
|
||||
selectedicon: IconsaxBold.video_vertical,
|
||||
icon: IconsaxPlusLinear.video_vertical,
|
||||
selectedicon: IconsaxPlusBold.video_vertical,
|
||||
),
|
||||
season(
|
||||
icon: IconsaxOutline.video_vertical,
|
||||
selectedicon: IconsaxBold.video_vertical,
|
||||
icon: IconsaxPlusLinear.video_vertical,
|
||||
selectedicon: IconsaxPlusBold.video_vertical,
|
||||
),
|
||||
episode(
|
||||
icon: IconsaxOutline.video_vertical,
|
||||
selectedicon: IconsaxBold.video_vertical,
|
||||
icon: IconsaxPlusLinear.video_vertical,
|
||||
selectedicon: IconsaxPlusBold.video_vertical,
|
||||
),
|
||||
photo(
|
||||
icon: IconsaxOutline.picture_frame,
|
||||
selectedicon: IconsaxBold.picture_frame,
|
||||
icon: IconsaxPlusLinear.picture_frame,
|
||||
selectedicon: IconsaxPlusBold.picture_frame,
|
||||
),
|
||||
person(
|
||||
icon: IconsaxOutline.user,
|
||||
selectedicon: IconsaxBold.user,
|
||||
icon: IconsaxPlusLinear.user,
|
||||
selectedicon: IconsaxPlusBold.user,
|
||||
),
|
||||
photoAlbum(
|
||||
icon: IconsaxOutline.gallery,
|
||||
selectedicon: IconsaxBold.gallery,
|
||||
icon: IconsaxPlusLinear.gallery,
|
||||
selectedicon: IconsaxPlusBold.gallery,
|
||||
),
|
||||
folder(
|
||||
icon: IconsaxOutline.folder,
|
||||
selectedicon: IconsaxBold.folder,
|
||||
icon: IconsaxPlusLinear.folder,
|
||||
selectedicon: IconsaxPlusBold.folder,
|
||||
),
|
||||
boxset(
|
||||
icon: IconsaxOutline.bookmark,
|
||||
selectedicon: IconsaxBold.bookmark,
|
||||
icon: IconsaxPlusLinear.bookmark,
|
||||
selectedicon: IconsaxPlusBold.bookmark,
|
||||
),
|
||||
playlist(
|
||||
icon: IconsaxOutline.archive_book,
|
||||
selectedicon: IconsaxBold.archive_book,
|
||||
icon: IconsaxPlusLinear.archive_book,
|
||||
selectedicon: IconsaxPlusBold.archive_book,
|
||||
),
|
||||
book(
|
||||
icon: IconsaxOutline.book,
|
||||
selectedicon: IconsaxBold.book,
|
||||
icon: IconsaxPlusLinear.book,
|
||||
selectedicon: IconsaxPlusBold.book,
|
||||
);
|
||||
|
||||
const FladderItemType({required this.icon, required this.selectedicon});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue