Page MenuHomePhabricator

D5386.diff
No OneTemporary

D5386.diff

diff --git a/native/lifecycle/lifecycle.js b/native/lifecycle/lifecycle.js
--- a/native/lifecycle/lifecycle.js
+++ b/native/lifecycle/lifecycle.js
@@ -14,12 +14,7 @@
return getLifecycleEventEmitter().addLifecycleListener(listener);
}
- NativeAppState.addEventListener('change', listener);
- return {
- remove: () => {
- NativeAppState.removeEventListener('change', listener);
- },
- };
+ return NativeAppState.addEventListener('change', listener);
}
function getCurrentLifecycleState(): ?string {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 5:36 PM (22 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2499619
Default Alt Text
D5386.diff (527 B)

Event Timeline