aboutsummaryrefslogtreecommitdiff
path: root/src/screens/chat
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-04 13:32:01 -0400
committerGitHub <noreply@github.com>2021-05-04 13:32:01 -0400
commit9d3fdd9324d03e2f2bafbe2b0fe9f18607bfdbd4 (patch)
treedbe76b5c6f65867bdc414694e6d19dcd88056803 /src/screens/chat
parent1441ef007549f24a292317f1e67c0de63cacbd2b (diff)
parent355829d9983b839db342881011cc3fe9ff3792f4 (diff)
Merge pull request #396 from ankit-thanekar007/tma-822-empty-inbox
[TMA-822] Empty Inbox Graphic
Diffstat (limited to 'src/screens/chat')
-rw-r--r--src/screens/chat/ChatListScreen.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screens/chat/ChatListScreen.tsx b/src/screens/chat/ChatListScreen.tsx
index d2cfcb5d..1df5c2da 100644
--- a/src/screens/chat/ChatListScreen.tsx
+++ b/src/screens/chat/ChatListScreen.tsx
@@ -9,6 +9,7 @@ import {TabsGradient} from '../../components';
import {ChannelPreview, MessagesHeader} from '../../components/messages';
import {MainStackParams} from '../../routes';
import {RootState} from '../../store/rootReducer';
+import EmptyContentView from '../../components/common/EmptyContentView';
import {
LocalAttachmentType,
LocalChannelType,
@@ -99,6 +100,9 @@ const ChatListScreen: React.FC<ChatListScreenProps> = () => {
sort={{last_message_at: -1}}
maxUnreadCount={99}
Preview={ChannelPreview}
+ EmptyStateIndicator={() => {
+ return <EmptyContentView viewType={'ChatList'} />;
+ }}
/>
</View>
</Chat>