Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Metro module 10225; source: modules/user_profile/utils/shouldShowActivityTimeBar.tsx; dependencies: [661, 2] */
|
||||
function _fun79525(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10411:6, offset: 0x01e566a1, size: 109 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(661) /* metro dependency 661: Constants */).ActivityTypes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/utils/shouldShowActivityTimeBar.tsx');
|
||||
exports.default = shouldShowActivityTimeBar;
|
||||
}
|
||||
|
||||
function shouldShowActivityTimeBar(a0) { // fn#79526, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10411:220, offset: 0x01e5670e, size: 98 bytes, params: 2, frame: 6
|
||||
var timestamps;
|
||||
const type = a0.type;
|
||||
var value;
|
||||
const LISTENING = ActivityTypes.LISTENING;
|
||||
let r0 = type === LISTENING || a0.type === ActivityTypes.WATCHING;
|
||||
if (r0) {
|
||||
timestamps = a0.timestamps;
|
||||
value = undefined;
|
||||
value = (timestamps == null ? value : timestamps.start) != null;
|
||||
r0 = value;
|
||||
}
|
||||
r0 = r0 && a0.timestamps.end != null;
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user