aboutsummaryrefslogtreecommitdiff
path: root/src/screens/chat
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-05-03 10:18:00 -0700
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-05-03 10:18:00 -0700
commit840e144e48fe90b33ce9ab713ca02a696887b8ea (patch)
tree4520549d8489e11546bbcea1f617f3bb38d438cf /src/screens/chat
parentcaac607ed90c35ad8d4b2787b170e1fd1f165333 (diff)
tma-822-base changes
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..810ebdb2 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 EmptyNotificationView from '../../screens/main/notification/EmptyNotificationView';
import {
LocalAttachmentType,
LocalChannelType,
@@ -99,6 +100,9 @@ const ChatListScreen: React.FC<ChatListScreenProps> = () => {
sort={{last_message_at: -1}}
maxUnreadCount={99}
Preview={ChannelPreview}
+ EmptyStateIndicator={() => {
+ return <EmptyNotificationView viewType={'ChatList'} />;
+ }}
/>
</View>
</Chat>