51 lines
1.8 KiB
TypeScript
51 lines
1.8 KiB
TypeScript
// Module ID: 10514
|
|
// Function ID: 10515
|
|
// Name: ThreadNotificationsBottomSheet
|
|
// Dependencies: [1235, 21, 10022, 7175, 6949, 1236, 8101, 7512, 8100, 2]
|
|
// Exports: default
|
|
|
|
// Module 10514 (ThreadNotificationsBottomSheet)
|
|
import { getThreadNotificationOptions as closure_3 } from "AbortCodes";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const result = require("computeThreadNotificationSetting").fileFinishedImporting("modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx");
|
|
|
|
export default function ThreadNotificationsBottomSheet(channel) {
|
|
channel = channel.channel;
|
|
let obj = channel(10022);
|
|
const threadNotificationSetting = obj.useThreadNotificationSetting(channel);
|
|
obj = { header: null, children: null };
|
|
obj = { title: null };
|
|
const intl = channel(1236).intl;
|
|
obj[0] = intl.string(channel(1236).t.h850Ss);
|
|
obj[0] = jsx(channel(6949).BottomSheetTitleHeader, { title: null });
|
|
const obj1 = {
|
|
hasIcons: false,
|
|
value: threadNotificationSetting,
|
|
onChange(flags) {
|
|
let obj = outer1_1(outer1_2[7]);
|
|
obj = { flags };
|
|
return obj.setNotificationSettings(channel, obj);
|
|
},
|
|
accessibilityLabel: null,
|
|
children: null
|
|
};
|
|
const intl2 = channel(1236).intl;
|
|
obj1[3] = intl2.string(channel(1236).t.h850Ss);
|
|
obj1[4] = callback().map((label) => {
|
|
const setting = label.setting;
|
|
return callback(channel(table[8]).TableRadioRow, { value: setting, label: label.label }, "" + setting);
|
|
});
|
|
obj[1] = jsx(channel(8101).TableRadioGroup, {
|
|
hasIcons: false,
|
|
value: threadNotificationSetting,
|
|
onChange(flags) {
|
|
let obj = outer1_1(outer1_2[7]);
|
|
obj = { flags };
|
|
return obj.setNotificationSettings(channel, obj);
|
|
},
|
|
accessibilityLabel: null,
|
|
children: null
|
|
});
|
|
return jsx(channel(7175).ActionSheet, { title: null });
|
|
};
|