decord/source/modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx

55 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-27 16:17:25 +00:00
// Module ID: 10870
// Function ID: 10871
2026-07-20 16:05:17 +00:00
// Name: ThreadNotificationsBottomSheet
2026-08-27 16:17:25 +00:00
// Dependencies: [1235, 21, 10091, 5941, 5573, 1236, 7625, 7442, 7626, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-27 16:17:25 +00:00
// Module 10870 (ThreadNotificationsBottomSheet)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import AbortCodes from "AbortCodes" /* 1235 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
let closure_3 = AbortCodes.getThreadNotificationOptions;
const jsx = jsxProd.jsx;
const result = set.fileFinishedImporting("modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function ThreadNotificationsBottomSheet(channel) {
channel = channel.channel;
2026-08-27 16:17:25 +00:00
let obj = channel(10091);
2026-07-20 16:05:17 +00:00
const threadNotificationSetting = obj.useThreadNotificationSetting(channel);
2026-07-29 08:29:29 +00:00
obj = { header: null, children: null };
obj = { title: null };
const intl = channel(1236).intl;
obj[0] = intl.string(channel(1236).t.h850Ss);
2026-08-27 16:17:25 +00:00
obj[0] = jsx(channel(5573).BottomSheetTitleHeader, { title: null });
2026-08-24 06:08:38 +00:00
obj1 = {
2026-07-20 16:05:17 +00:00
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
2026-08-24 06:08:38 +00:00
let obj = closure_1_1(closure_1_2[7]);
2026-07-20 16:05:17 +00:00
obj = { flags };
return obj.setNotificationSettings(channel, obj);
2026-07-29 08:29:29 +00:00
},
accessibilityLabel: null,
children: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl2 = channel(1236).intl;
obj1[3] = intl2.string(channel(1236).t.h850Ss);
obj1[4] = callback().map((label) => {
2026-07-20 16:05:17 +00:00
const setting = label.setting;
2026-07-29 08:29:29 +00:00
return callback(channel(table[8]).TableRadioRow, { value: setting, label: label.label }, "" + setting);
2026-07-23 10:11:24 +00:00
});
2026-08-27 16:17:25 +00:00
obj[1] = jsx(channel(7625).TableRadioGroup, {
2026-07-23 10:11:24 +00:00
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
2026-08-24 06:08:38 +00:00
let obj = closure_1_1(closure_1_2[7]);
2026-07-23 10:11:24 +00:00
obj = { flags };
return obj.setNotificationSettings(channel, obj);
2026-07-29 08:29:29 +00:00
},
accessibilityLabel: null,
children: null
2026-07-20 16:05:17 +00:00
});
2026-08-27 16:17:25 +00:00
return jsx(channel(5941).ActionSheet, { title: null });
2026-07-20 16:05:17 +00:00
};