Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix backgrounding scenario listening on load
The AppState listener was added when the file was imported, which happens in every scenario This now uses a useEffect hook so the subscription only happens when the component is mounted and unsubscribes when unmounted
- Loading branch information