Browse Source

Migrate AppLifecycleState.hidden

pull/104/head
Alexei Volkov 1 year ago
parent
commit
e099b24934
  1. 1
      lib/src/ui/reader_widget.dart

1
lib/src/ui/reader_widget.dart

@ -191,6 +191,7 @@ class _ReaderWidgetState extends State<ReaderWidget>
}
break;
case AppLifecycleState.inactive:
case AppLifecycleState.hidden:
case AppLifecycleState.paused:
controller?.dispose();
setState(() {

Loading…
Cancel
Save