decord/source/modules/user_profile/hooks/useShouldConvertBioEmoji.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

30 lines
1 KiB
TypeScript

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