chore: Move to different iconsax library (#301)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-04-05 23:36:48 +02:00 committed by GitHub
parent 5b3d5b8900
commit 5578076fdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
71 changed files with 349 additions and 346 deletions

View file

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:ficonsax/ficonsax.dart';
import 'package:iconsax_plus/iconsax_plus.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:screen_brightness/screen_brightness.dart';
@ -276,13 +276,13 @@ class _VideoPlayerNextWrapperState extends ConsumerState<VideoPlayerNextWrapper>
IconButton.filledTonal(
onPressed: () => hideNextUp(),
tooltip: context.localized.resumeVideo,
icon: const Icon(IconsaxBold.maximize_4),
icon: const Icon(IconsaxPlusBold.maximize_4),
),
const SizedBox(width: 8),
IconButton.filledTonal(
onPressed: () => closePlayer(),
tooltip: context.localized.closeVideo,
icon: const Icon(IconsaxBold.close_square),
icon: const Icon(IconsaxPlusBold.close_square),
),
],
),
@ -454,13 +454,13 @@ class _SimpleControls extends ConsumerWidget {
children: [
IconButton.filledTonal(
onPressed: () => player.playOrPause(),
icon: Icon(isPlaying ? IconsaxBold.pause : IconsaxBold.play),
icon: Icon(isPlaying ? IconsaxPlusBold.pause : IconsaxPlusBold.play),
),
if (skip != null)
IconButton.filledTonal(
onPressed: skip,
tooltip: context.localized.playNextVideo,
icon: const Icon(IconsaxBold.next),
icon: const Icon(IconsaxPlusBold.next),
)
].addInBetween(const SizedBox(width: 4)));
}