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

48 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 10350
// Function ID: 79840
2026-07-20 16:05:17 +00:00
// Name: ThreadNotificationsBottomSheet
2026-07-28 08:39:19 +00:00
// Dependencies: [1211, 33, 10231, 5533, 5220, 1212, 7632, 6058, 7631, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-28 08:39:19 +00:00
// Module 10350 (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-07-28 08:39:19 +00:00
let obj = channel(10231);
2026-07-20 16:05:17 +00:00
const threadNotificationSetting = obj.useThreadNotificationSetting(channel);
obj = {};
obj = {};
2026-07-23 10:11:24 +00:00
const intl = channel(1212).intl;
obj.title = intl.string(channel(1212).t.h850Ss);
2026-07-28 08:39:19 +00:00
obj.header = jsx(channel(5220).BottomSheetTitleHeader, {});
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-23 10:11:24 +00:00
const intl2 = channel(1212).intl;
obj1.accessibilityLabel = intl2.string(channel(1212).t.h850Ss);
2026-07-20 16:05:17 +00:00
obj1.children = callback().map((label) => {
const setting = label.setting;
2026-07-23 10:11:24 +00:00
return outer1_4(channel(outer1_2[8]).TableRadioRow, { value: setting, label: label.label }, "" + setting);
});
2026-07-28 08:39:19 +00:00
obj.children = jsx(channel(7632).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-20 16:05:17 +00:00
});
2026-07-28 08:39:19 +00:00
return jsx(channel(5533).ActionSheet, {});
2026-07-20 16:05:17 +00:00
};