File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed
examples/SampleApp/src/screens
src/components/MessageList Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import { ScreenHeader } from '../components/ScreenHeader';
1414
1515import type { RouteProp } from '@react-navigation/native' ;
1616
17- import type { Channel as StreamChatChannel } from 'stream-chat' ;
18-
1917import type {
2018 LocalAttachmentType ,
2119 LocalChannelType ,
Original file line number Diff line number Diff line change 11import React , { PropsWithChildren } from 'react' ;
22import { StyleSheet , View } from 'react-native' ;
33
4+ import { filterTypingUsers } from './utils/filterTypingUsers' ;
5+
46import {
57 ChatContextValue ,
68 useChatContext ,
79} from '../../contexts/chatContext/ChatContext' ;
810import { useTheme } from '../../contexts/themeContext/ThemeContext' ;
9- import {
10- TypingContextValue ,
11- useTypingContext ,
12- } from '../../contexts/typingContext/TypingContext' ;
1311import {
1412 ThreadContextValue ,
1513 useThreadContext ,
1614} from '../../contexts/threadContext/ThreadContext' ;
15+ import {
16+ TypingContextValue ,
17+ useTypingContext ,
18+ } from '../../contexts/typingContext/TypingContext' ;
1719
1820import type {
1921 DefaultAttachmentType ,
@@ -26,8 +28,6 @@ import type {
2628 UnknownType ,
2729} from '../../types/types' ;
2830
29- import { filterTypingUsers } from './utils/filterTypingUsers' ;
30-
3131const styles = StyleSheet . create ( {
3232 container : {
3333 bottom : 0 ,
Original file line number Diff line number Diff line change 1+ import { filterTypingUsers } from '../utils/filterTypingUsers' ;
2+
13import { useChatContext } from '../../../contexts/chatContext/ChatContext' ;
4+ import { useThreadContext } from '../../../contexts/threadContext/ThreadContext' ;
25import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext' ;
36import { useTypingContext } from '../../../contexts/typingContext/TypingContext' ;
4- import { useThreadContext } from '../../../contexts/threadContext/ThreadContext' ;
57
68import type {
79 DefaultAttachmentType ,
@@ -14,8 +16,6 @@ import type {
1416 UnknownType ,
1517} from '../../../types/types' ;
1618
17- import { filterTypingUsers } from '../utils/filterTypingUsers' ;
18-
1919export const useTypingString = <
2020 At extends UnknownType = DefaultAttachmentType ,
2121 Ch extends UnknownType = DefaultChannelType ,
You can’t perform that action at this time.
0 commit comments