Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/* Metro module 14467; source: modules/calls/useCallA11yState.tsx; dependencies: [1226, 4258, 566, 2] */
|
||||
function _fun109483(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14664:6, offset: 0x0234e0dd, size: 130 bytes, params: 8, frame: 19
|
||||
let env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
|
||||
const callStore = importDefault(4258) /* metro dependency 4258: CallStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/calls/useCallA11yState.tsx');
|
||||
exports.default = function(a0) {
|
||||
var env0_0 = a0;
|
||||
return require(dependencyMap[2]).useStateFromStoresObject([CallStore, AuthenticationStore], _fun109485);
|
||||
};
|
||||
}
|
||||
|
||||
function useCallA11yState(a0) { // fn#109484, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14664:194, offset: 0x0234e15f, size: 75 bytes, params: 2, frame: 15
|
||||
const env0_0 = a0;
|
||||
return (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([CallStore, AuthenticationStore],
|
||||
_fun109485);
|
||||
}
|
||||
|
||||
function _fun109485() { // fn#109485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14664:270, offset: 0x0234e1aa, size: 110 bytes, params: 1, frame: 15
|
||||
const value = environment.__proto__;
|
||||
const call = CallStore.getCall(env0_0);
|
||||
const id = AuthenticationStore.getId();
|
||||
const r2 = call != null && id != null && call.ringing.includes(id);
|
||||
const object2 = {isIncomingCall: r2};
|
||||
object2.isOngoingCall = CallStore.isCallActive(env0_0) && !r2;
|
||||
return object2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user