decord/source/modules/conversations/ConversationVisibilityStore.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

42 lines
1.4 KiB
TypeScript

// Module ID: 7530
// Function ID: 7531
// Name: initialize
// Dependencies: [586, 706, 2]
// Module 7530 (initialize)
import initializeDefault from "initialize" /* 586 */;
import dispatcherDefault from "dispatcher" /* 706 */;
let c0 = true;
const DeviceSettingsStore = initializeDefault.DeviceSettingsStore;
class ConversationVisibilityStore extends DeviceSettingsStore {
}
const prototype = ConversationVisibilityStore.prototype;
prototype["initialize"] = function initialize(highlightingEnabled) {
let flag;
if (highlightingEnabled != null) {
flag = highlightingEnabled.highlightingEnabled;
}
if (flag == null) {
flag = true;
}
};
prototype["isHighlightingEnabled"] = function isHighlightingEnabled() {
return c0;
};
prototype["getState"] = function getState() {
return { highlightingEnabled: c0 };
};
prototype["getUserAgnosticState"] = function getUserAgnosticState() {
return { highlightingEnabled: c0 };
};
ConversationVisibilityStore.displayName = "ConversationVisibilityStore";
ConversationVisibilityStore.persistKey = "ConversationVisibilityStore";
const conversationVisibilityStore = new ConversationVisibilityStore(dispatcherDefault, {
CONVERSATIONS_TOGGLE_HIGHLIGHTING: function handleToggleHighlighting() {
closure_0 = !closure_0;
}
});
const result = require("set").fileFinishedImporting("modules/conversations/ConversationVisibilityStore.tsx");
export default conversationVisibilityStore;