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-13 07:00:46 +00:00
|
|
|
// Dependencies: [1235, 21, 9811, 5804, 5436, 1236, 8030, 7269, 8029, 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-13 07:00:46 +00:00
|
|
|
let obj = channel(9811);
|
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-13 07:00:46 +00:00
|
|
|
obj[0] = jsx(channel(5436).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-13 07:00:46 +00:00
|
|
|
obj[1] = jsx(channel(8030).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-13 07:00:46 +00:00
|
|
|
return jsx(channel(5804).ActionSheet, { title: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|