Skip to content

Commit 9e7e11d

Browse files
committed
Remove commented out listeners
1 parent 1239399 commit 9e7e11d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_client_sdk/lib/src/lifecycle/js_lifecycle_listener.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class LDAppLifecycleListener {
1818
: AppLifecycleState.resumed);
1919

2020
_streamController.onListen = () {
21-
// web.document.addEventListener('visibilitychange', listenerFunc.toJS);
21+
web.document.addEventListener('visibilitychange', listenerFunc.toJS);
2222
};
2323

2424
_streamController.onCancel = () {
25-
// web.document.removeEventListener('visibilitychange', listenerFunc.toJS);
25+
web.document.removeEventListener('visibilitychange', listenerFunc.toJS);
2626
};
2727
}
2828

0 commit comments

Comments
 (0)