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

52 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 10241
// Function ID: 10242
2026-07-20 16:05:17 +00:00
// Name: ThreadNotificationsBottomSheet
2026-08-12 06:57:52 +00:00
// Dependencies: [1235, 21, 9807, 5803, 5435, 1236, 8026, 7264, 8025, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-12 06:57:52 +00:00
// Module 10241 (ThreadNotificationsBottomSheet)
2026-07-23 10:11:24 +00:00
import { getThreadNotificationOptions as closure_3 } from "AbortCodes";
import { jsx } from "jsxProd";
const result = require("computeThreadNotificationSetting").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-12 06:57:52 +00:00
let obj = channel(9807);
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-12 06:57:52 +00:00
obj[0] = jsx(channel(5435).BottomSheetTitleHeader, { title: null });
2026-07-20 16:05:17 +00:00
const obj1 = {
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
2026-07-23 10:11:24 +00:00
let obj = outer1_1(outer1_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-12 06:57:52 +00:00
obj[1] = jsx(channel(8026).TableRadioGroup, {
2026-07-23 10:11:24 +00:00
hasIcons: false,
value: threadNotificationSetting,
onChange(flags) {
let obj = outer1_1(outer1_2[7]);
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-12 06:57:52 +00:00
return jsx(channel(5803).ActionSheet, { title: null });
2026-07-20 16:05:17 +00:00
};