decord/source/modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx
2026-07-25 08:10:48 +00:00

47 lines
1.7 KiB
TypeScript

// Module ID: 10309
// Function ID: 79706
// Name: ThreadNotificationsBottomSheet
// Dependencies: [1211, 33, 10190, 5498, 5186, 1212, 7596, 6024, 7595, 2]
// Exports: default
// Module 10309 (ThreadNotificationsBottomSheet)
import { getThreadNotificationOptions as closure_3 } from "AbortCodes";
import { jsx } from "jsxProd";
const result = require("computeThreadNotificationSetting").fileFinishedImporting("modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx");
export default function ThreadNotificationsBottomSheet(channel) {
channel = channel.channel;
let obj = channel(10190);
const threadNotificationSetting = obj.useThreadNotificationSetting(channel);
obj = {};
obj = {};
const intl = channel(1212).intl;
obj.title = intl.string(channel(1212).t.h850Ss);
obj.header = jsx(channel(5186).BottomSheetTitleHeader, {});
const obj1 = {
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
let obj = outer1_1(outer1_2[7]);
obj = { flags };
return obj.setNotificationSettings(channel, obj);
}
};
const intl2 = channel(1212).intl;
obj1.accessibilityLabel = intl2.string(channel(1212).t.h850Ss);
obj1.children = callback().map((label) => {
const setting = label.setting;
return outer1_4(channel(outer1_2[8]).TableRadioRow, { value: setting, label: label.label }, "" + setting);
});
obj.children = jsx(channel(7596).TableRadioGroup, {
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
let obj = outer1_1(outer1_2[7]);
obj = { flags };
return obj.setNotificationSettings(channel, obj);
}
});
return jsx(channel(5498).ActionSheet, {});
};