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

52 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-10 06:55:34 +00:00
// Module ID: 10195
// Function ID: 10196
2026-07-20 16:05:17 +00:00
// Name: ThreadNotificationsBottomSheet
2026-08-10 06:55:34 +00:00
// Dependencies: [1235, 21, 9761, 5764, 5396, 1236, 7985, 7224, 7984, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-10 06:55:34 +00:00
// Module 10195 (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-10 06:55:34 +00:00
let obj = channel(9761);
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-08 06:10:11 +00:00
obj[0] = jsx(channel(5396).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-08 06:10:11 +00:00
obj[1] = jsx(channel(7985).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-08 06:10:11 +00:00
return jsx(channel(5764).ActionSheet, { title: null });
2026-07-20 16:05:17 +00:00
};