Browse Source

Merge pull request #104 from softkot/main

Migrate AppLifecycleState.hidden
pull/105/head
Khoren Markosyan 1 year ago committed by GitHub
parent
commit
19b522af57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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