14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
// Metro module 7945 (f7946).
|
|
import { UseLegacyChatInput, UseRichChatInput } from "../../user_settings/UserSettings";
|
|
export default function useShouldConvertBioEmoji() {
|
|
let r8 = UseLegacyChatInput.useSetting();
|
|
const setting = UseRichChatInput.useSetting();
|
|
if (!r8) {
|
|
r8 = !setting;
|
|
}
|
|
return r8;
|
|
};
|
|
export function getShouldConvertBioEmoji() {
|
|
return UseLegacyChatInput.getSetting() || !UseRichChatInput.getSetting();
|
|
}
|