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; break;
case AppLifecycleState.inactive: case AppLifecycleState.inactive:
case AppLifecycleState.hidden:
case AppLifecycleState.paused: case AppLifecycleState.paused:
controller?.dispose(); controller?.dispose();
setState(() { setState(() {

Loading…
Cancel
Save