decord/source/modules/user_profile/hooks/useShouldConvertBioEmoji.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

30 lines
1 KiB
TypeScript

// Module ID: 8297
// Function ID: 8298
// Name: useShouldConvertBioEmoji
// Dependencies: [1936, 2]
// Exports: default, getShouldConvertBioEmoji
// Module 8297 (useShouldConvertBioEmoji)
import UserSettings from "UserSettings" /* 1936 */;
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;
};