decord/source/modules/user_profile/hooks/useShouldConvertBioEmoji.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

30 lines
1.1 KiB
TypeScript

// Module ID: 8099
// Function ID: 8100
// Name: useShouldConvertBioEmoji
// Dependencies: [4166, 2]
// Exports: default, getShouldConvertBioEmoji
// Module 8099 (useShouldConvertBioEmoji)
import set from "set" /* 2 */;
import explicitContentFromProto from "explicitContentFromProto" /* 4166 */;
const result = set.fileFinishedImporting("modules/user_profile/hooks/useShouldConvertBioEmoji.tsx");
export default function useShouldConvertBioEmoji() {
const UseLegacyChatInput = explicitContentFromProto.UseLegacyChatInput;
let setting = UseLegacyChatInput.useSetting();
const UseRichChatInput = explicitContentFromProto.UseRichChatInput;
if (!setting) {
setting = !UseRichChatInput.useSetting();
}
return setting;
};
export const getShouldConvertBioEmoji = function getShouldConvertBioEmoji() {
const UseLegacyChatInput = explicitContentFromProto.UseLegacyChatInput;
let setting = UseLegacyChatInput.getSetting();
if (!setting) {
const UseRichChatInput = explicitContentFromProto.UseRichChatInput;
setting = !UseRichChatInput.getSetting();
}
return setting;
};