stays fullscreen unless quitting the player
This commit is contained in:
parent
b2d3eafc33
commit
0546a2a1ea
1 changed files with 0 additions and 18 deletions
|
|
@ -210,12 +210,6 @@ class _AnimeStreamPageState extends riv.ConsumerState<AnimeStreamPage>
|
|||
_player.stream.completed.listen(
|
||||
(val) async {
|
||||
if (_streamController.getEpisodeIndex().$1 != 0 && val == true) {
|
||||
if (isDesktop) {
|
||||
final isFullScreen = await windowManager.isFullScreen();
|
||||
if (isFullScreen) {
|
||||
await setFullScreen(value: false);
|
||||
}
|
||||
}
|
||||
if (mounted) {
|
||||
pushReplacementMangaReaderView(
|
||||
context: context,
|
||||
|
|
@ -743,12 +737,6 @@ class _AnimeStreamPageState extends riv.ConsumerState<AnimeStreamPage>
|
|||
if (hasPrevEpisode)
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
if (isDesktop) {
|
||||
final isFullScreen = await windowManager.isFullScreen();
|
||||
if (isFullScreen) {
|
||||
await setFullScreen(value: false);
|
||||
}
|
||||
}
|
||||
if (context.mounted) {
|
||||
pushReplacementMangaReaderView(
|
||||
context: context,
|
||||
|
|
@ -766,12 +754,6 @@ class _AnimeStreamPageState extends riv.ConsumerState<AnimeStreamPage>
|
|||
if (hasNextEpisode)
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
if (isDesktop) {
|
||||
final isFullScreen = await windowManager.isFullScreen();
|
||||
if (isFullScreen) {
|
||||
await setFullScreen(value: false);
|
||||
}
|
||||
}
|
||||
if (context.mounted) {
|
||||
pushReplacementMangaReaderView(
|
||||
context: context,
|
||||
|
|
|
|||
Loading…
Reference in a new issue