decord/alpha/source/modules/self_mod/SelfModUtils.tsx
github-actions 45f5884862 chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
2026-09-23 06:49:31 +00:00

20 lines
542 B
TypeScript

// Module ID: 7619
// Function ID: 7620
// Name: SelfModUtils
// Dependencies: [1372, 2]
// Exports: isCurrentUserTeen
// Module 7619 (SelfModUtils)
import UserStore from "UserStore" /* 1372 */;
const size = fn(2);
const result = size.fileFinishedImporting("modules/self_mod/SelfModUtils.tsx");
export const isCurrentUserTeen = function isCurrentUserTeen() {
const currentUser = UserStore.getCurrentUser();
let nsfwAllowed;
if (currentUser != null) {
nsfwAllowed = currentUser.nsfwAllowed;
}
return false === nsfwAllowed;
};