@@ -16,15 +16,19 @@ import {
1616
1717import { createAppContainer , createStackNavigator } from 'react-navigation' ;
1818
19- const chatClient = new StreamChat ( 'qk4nn7rpcn75 ' ) ;
19+ const chatClient = new StreamChat ( 'q95x9hkbyd6p ' ) ;
2020const userToken =
21- 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiYmlsbG93aW5nLWZpcmVmbHktOCJ9.CQTVyJ6INIM8u28BxkneY2gdYpamjLzSVUOTZKzfQlg' ;
22- const user = {
23- id : 'billowing-firefly-8' ,
24- name : 'Billowing firefly' ,
25- image :
26- 'https://stepupandlive.files.wordpress.com/2014/09/3d-animated-frog-image.jpg' ,
27- } ;
21+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoicm9uIn0.eRVjxLvd4aqCEHY_JRa97g6k7WpHEhxL7Z4K4yTot1c' ;
22+ const user = {
23+ id : 'ron' ,
24+ } ;
25+
26+ const filters = { type : 'messaging' , example : 'example-apps' , members : { '$in' : [ 'ron' ] } } ;
27+ const sort = { last_message_at : - 1 } ;
28+ const options = {
29+ state : true ,
30+ watch : true
31+ }
2832// Read more about style customizations at - https://getstream.io/chat/react-native-chat/tutorial/#custom-styles
2933const theme = {
3034 avatar : {
@@ -33,7 +37,7 @@ const theme = {
3337 } ,
3438 } ,
3539 colors : {
36- primary : 'magenta ' ,
40+ primary : 'blue ' ,
3741 } ,
3842 spinner : {
3943 css : `
@@ -43,21 +47,12 @@ const theme = {
4347 } ,
4448} ;
4549
46-
47- const filters = { type : 'messaging' } ;
48- const sort = { last_message_at : - 1 } ;
49- const options = {
50- state : true ,
51- watch : true ,
52- limit : 30 ,
53- } ;
54-
5550/**
5651 * Start playing with streami18n instance here:
5752 * Please refer to description of this PR for details: https://github.com/GetStream/stream-chat-react-native/pull/150
5853 */
5954const streami18n = new Streami18n ( {
60- language : 'nl '
55+ language : 'en '
6156} ) ;
6257
6358class ChannelListScreen extends PureComponent {
0 commit comments