From e099b24934ee21de897fa98b25d185f98afdeaa4 Mon Sep 17 00:00:00 2001 From: Alexei Volkov Date: Fri, 18 Aug 2023 19:22:38 +0300 Subject: [PATCH] Migrate AppLifecycleState.hidden --- lib/src/ui/reader_widget.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/ui/reader_widget.dart b/lib/src/ui/reader_widget.dart index b8e1447..55d8425 100644 --- a/lib/src/ui/reader_widget.dart +++ b/lib/src/ui/reader_widget.dart @@ -191,6 +191,7 @@ class _ReaderWidgetState extends State } break; case AppLifecycleState.inactive: + case AppLifecycleState.hidden: case AppLifecycleState.paused: controller?.dispose(); setState(() {