decord/source/modules/user_profile/hooks/useShouldConvertBioEmoji.tsx

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 7937
// Function ID: 62914
2026-07-20 16:05:17 +00:00
// Name: useShouldConvertBioEmoji
2026-07-23 10:11:24 +00:00
// Dependencies: [3803, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getShouldConvertBioEmoji
2026-07-24 07:16:23 +00:00
// Module 7937 (useShouldConvertBioEmoji)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/user_profile/hooks/useShouldConvertBioEmoji.tsx");
2026-07-20 16:05:17 +00:00
export default function useShouldConvertBioEmoji() {
2026-07-23 10:11:24 +00:00
const UseLegacyChatInput = require(3803) /* explicitContentFromProto */.UseLegacyChatInput;
2026-07-20 16:05:17 +00:00
let setting = UseLegacyChatInput.useSetting();
2026-07-23 10:11:24 +00:00
const UseRichChatInput = require(3803) /* explicitContentFromProto */.UseRichChatInput;
2026-07-20 16:05:17 +00:00
if (!setting) {
setting = !UseRichChatInput.useSetting();
}
return setting;
};
export const getShouldConvertBioEmoji = function getShouldConvertBioEmoji() {
2026-07-23 10:11:24 +00:00
const UseLegacyChatInput = require(3803) /* explicitContentFromProto */.UseLegacyChatInput;
2026-07-20 16:05:17 +00:00
let setting = UseLegacyChatInput.getSetting();
if (!setting) {
2026-07-23 10:11:24 +00:00
const UseRichChatInput = require(3803) /* explicitContentFromProto */.UseRichChatInput;
2026-07-20 16:05:17 +00:00
setting = !UseRichChatInput.getSetting();
}
return setting;
};