@planningcenter/chat-react-native 3.42.3-qa-staging.2 → 3.42.3-qa-staging.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/build/components/display/platform_modal_header_buttons.d.ts +47 -7
  2. package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
  3. package/build/components/display/platform_modal_header_buttons.js +119 -9
  4. package/build/components/display/platform_modal_header_buttons.js.map +1 -1
  5. package/build/navigation/index.d.ts +67 -170
  6. package/build/navigation/index.d.ts.map +1 -1
  7. package/build/navigation/index.js +59 -70
  8. package/build/navigation/index.js.map +1 -1
  9. package/build/screens/bug_report_screen.d.ts.map +1 -1
  10. package/build/screens/bug_report_screen.js +10 -13
  11. package/build/screens/bug_report_screen.js.map +1 -1
  12. package/build/screens/conversation_details_screen.d.ts.map +1 -1
  13. package/build/screens/conversation_details_screen.js +11 -12
  14. package/build/screens/conversation_details_screen.js.map +1 -1
  15. package/build/screens/conversation_filters_screen.js +2 -2
  16. package/build/screens/conversation_filters_screen.js.map +1 -1
  17. package/build/screens/conversation_screen.d.ts.map +1 -1
  18. package/build/screens/conversation_screen.js +9 -2
  19. package/build/screens/conversation_screen.js.map +1 -1
  20. package/build/screens/message_report_screen.d.ts.map +1 -1
  21. package/build/screens/message_report_screen.js +14 -18
  22. package/build/screens/message_report_screen.js.map +1 -1
  23. package/build/screens/notification_settings_screen.d.ts.map +1 -1
  24. package/build/screens/notification_settings_screen.js +0 -14
  25. package/build/screens/notification_settings_screen.js.map +1 -1
  26. package/package.json +3 -3
  27. package/src/components/display/platform_modal_header_buttons.tsx +254 -13
  28. package/src/navigation/index.tsx +147 -164
  29. package/src/screens/bug_report_screen.tsx +16 -15
  30. package/src/screens/conversation_details_screen.tsx +11 -17
  31. package/src/screens/conversation_filters_screen.tsx +2 -2
  32. package/src/screens/conversation_screen.tsx +10 -2
  33. package/src/screens/message_report_screen.tsx +20 -21
  34. package/src/screens/notification_settings_screen.tsx +1 -21
@@ -1,10 +1,9 @@
1
1
  import { PlatformPressable } from '@react-navigation/elements'
2
2
  import { StaticScreenProps, useNavigation } from '@react-navigation/native'
3
- import React, { useCallback, useEffect, type ReactNode } from 'react'
3
+ import { type ReactNode } from 'react'
4
4
  import { FlatList, Platform, StyleSheet, View, type ViewProps, type ViewStyle } from 'react-native'
5
5
  import { useSafeAreaInsets } from 'react-native-safe-area-context'
6
6
  import { Badge, Heading, Icon, Text } from '../components'
7
- import { HeaderTextButton } from '../components/display/platform_modal_header_buttons'
8
7
  import { useTheme } from '../hooks'
9
8
  import { isDefined } from '../types'
10
9
  import { chatTypeLabel } from '../utils'
@@ -51,25 +50,6 @@ export function NotificationSettingsScreen({}: NotificationSettingsScreenProps)
51
50
  const { data: chatTypes } = useChatTypes()
52
51
  const { data: groups } = useGroups()
53
52
 
54
- // Header configuration
55
- const HeaderRight = useCallback(() => {
56
- return (
57
- <HeaderTextButton
58
- onPress={() => {
59
- // Save settings logic would go here
60
- navigation.goBack()
61
- }}
62
- title="Done"
63
- />
64
- )
65
- }, [navigation])
66
-
67
- useEffect(() => {
68
- navigation.setOptions({
69
- headerRight: HeaderRight,
70
- })
71
- }, [HeaderRight, navigation])
72
-
73
53
  // Build section data
74
54
  const listData = [
75
55
  {