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

48 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 10310
// Function ID: 79711
2026-07-20 16:05:17 +00:00
// Name: ThreadNotificationsBottomSheet
2026-07-27 11:26:19 +00:00
// Dependencies: [1211, 33, 10191, 5498, 5186, 1212, 7596, 6024, 7595, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 10310 (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-27 11:26:19 +00:00
let obj = channel(10191);
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);
obj.header = jsx(channel(5186).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-25 08:10:48 +00:00
obj.children = jsx(channel(7596).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-24 07:16:23 +00:00
return jsx(channel(5498).ActionSheet, {});
2026-07-20 16:05:17 +00:00
};