Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,44 @@
|
||||
/* Metro module 6892; source: modules/favorites/FavoritesUtils.tsx; dependencies: [1417, 661, 1244, 2] */
|
||||
function _fun54735(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#54735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7070:6, offset: 0x0136cf81, size: 163 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const closure = isFavoritesGuildId;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(1417) /* metro dependency 1417: FavoritesConstants */).FAVORITES_RAW_GUILD_ID;
|
||||
const env0_3 = (require(661) /* metro dependency 661: Constants */).FAVORITES;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/favorites/FavoritesUtils.tsx');
|
||||
exports.getFavoritesAwareGuildName = getFavoritesAwareGuildName;
|
||||
exports.isFavoritesGuildId = closure;
|
||||
exports.canFavoriteChannelType = function(a0, a1) {
|
||||
var r0;
|
||||
var isThread;
|
||||
var value = a1;
|
||||
var isCategory = a0.isCategory();
|
||||
if (isCategory) {
|
||||
r0 = !isCategory;
|
||||
} else {
|
||||
isThread = a0.isThread();
|
||||
r0 = isThread ? value : !isThread;
|
||||
}
|
||||
return r0;
|
||||
};
|
||||
}
|
||||
|
||||
function isFavoritesGuildId(a0) { // fn#54736, offset: 0x0136d024, size: 27 bytes, params: 2, frame: 4
|
||||
return a0 === FAVORITES_RAW_GUILD_ID || a0 === FAVORITES;
|
||||
}
|
||||
|
||||
function getFavoritesAwareGuildName(a0) { // fn#54737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7070:299, offset: 0x0136d03f, size: 99 bytes, params: 2, frame: 15
|
||||
var r0;
|
||||
var intl;
|
||||
if (a0 != null) {
|
||||
if (isFavoritesGuildId(a0.id)) {
|
||||
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
r0 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.wMWyci);
|
||||
} else {
|
||||
r0 = a0.name;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user