2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 8646
|
|
|
|
|
// Function ID: 8647
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: useLegacyTextMigrationHighlight
|
2026-09-10 05:38:07 +00:00
|
|
|
// Dependencies: [4573, 4574, 576, 504, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
// Exports: useLegacyTextMigrationHighlight
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 8646 (useLegacyTextMigrationHighlight)
|
|
|
|
|
import nativeDefault from "native" /* 576 */;
|
|
|
|
|
import DevSettingsStore from "DevSettingsStore" /* 4573 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = fn;
|
|
|
|
|
const createStyles = fn(4574);
|
|
|
|
|
const obj2 = { highlight: { borderWidth: 1, borderColor: nativeDefault.colors.STATUS_DANGER } };
|
|
|
|
|
let closure_3 = createStyles.createStyles(obj2);
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("design/void/LegacyText/native/useLegacyTextMigrationHighlight.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
export const useLegacyTextMigrationHighlight = function useLegacyTextMigrationHighlight() {
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp = closure_3();
|
|
|
|
|
const items = [DevSettingsStore];
|
2026-07-23 10:11:24 +00:00
|
|
|
let highlight = null;
|
2026-09-10 05:38:07 +00:00
|
|
|
if (obj.useStateFromStores(items, () => DevSettingsStore.get("highlight_mana_text"))) {
|
2026-07-23 10:11:24 +00:00
|
|
|
highlight = tmp.highlight;
|
|
|
|
|
}
|
|
|
|
|
return highlight;
|
|
|
|
|
};
|