MCPcopy Create free account
hub / github.com/CommE2E/comm / threadSettingsNotificationsOptions

Function threadSettingsNotificationsOptions

native/chat/chat.react.js:396–406  ·  view source on GitHub ↗
({
  route,
}: {
  +route: NavigationRoute<'ThreadSettingsNotifications'>,
  ...
})

Source from the content-addressed store, hash-verified

394 headerBackTitleVisible: false,
395};
396const threadSettingsNotificationsOptions = ({
397 route,
398}: {
399 +route: NavigationRoute<'ThreadSettingsNotifications'>,
400 ...
401}) => ({
402 headerTitle: threadIsSidebar(route.params.threadInfo)
403 ? threadSettingsNotificationsCopy.SIDEBAR_TITLE
404 : threadSettingsNotificationsCopy.CHANNEL_TITLE,
405 headerBackTitleVisible: false,
406});
407const changeRolesScreenOptions = ({
408 route,
409}: {

Callers

nothing calls this directly

Calls 1

threadIsSidebarFunction · 0.90

Tested by

no test coverage detected