From d3f6b505e78e327b8b59d63dfa502c35173976b6 Mon Sep 17 00:00:00 2001 From: Anuj Bhatia Date: Sun, 25 Mar 2018 10:00:59 -0700 Subject: [PATCH] Updated home screen to resolve update to CellRenderer behavior in React Native: https://github.com/facebook/react-native/issues/18291 --- src/screens/HomeScreen.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/screens/HomeScreen.js b/src/screens/HomeScreen.js index da2a95e..9a4f4f2 100644 --- a/src/screens/HomeScreen.js +++ b/src/screens/HomeScreen.js @@ -5,43 +5,43 @@ import Ionicons from 'react-native-vector-icons/Ionicons' import AvView from '../AvView' const data = [{ - key: 1, - username: 'james', + key: "1", + username: 'ken', type: 'video', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/drive.mov?st=2018-03-18T08%3A47%3A00Z&se=2018-04-19T08%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=b&sig=noacC6dFFoGBNO98lQNvY%2F%2BKk0oIpJavGRKTA7A9t44%3D", avatarUrl: 'https://unsplash.it/100?image=1005' }, { - key: 2, + key: "2", username: 'jennifer', type: 'image', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/baking.jpg?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D", avatarUrl: 'https://unsplash.it/100?image=1027' }, { - key: 3, + key: "3", username: 'cathy', type: 'video', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/sky.mov?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D", avatarUrl: 'https://unsplash.it/100?image=996' }, { - key: 4, + key: "4", username: 'zack', type: 'image', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/landscape.jpg?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D", avatarUrl: 'https://unsplash.it/100?image=856' }, { - key: 5, + key: "5", username: 'luke', type: 'image', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/snow.jpg?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D", avatarUrl: 'https://unsplash.it/100?image=669' }, { - key: 6, + key: "6", username: 'anna', type: 'video', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/garden.mov?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D", avatarUrl: 'https://unsplash.it/100?image=823' }, { - key: 7, + key: "7", username: 'ken', type: 'image', source: "https://nikeakshackfeststorage.blob.core.windows.net/nikeakshackfestblobcontainer/town.jpg?st=2018-03-18T03%3A47%3A00Z&se=2019-03-19T03%3A47%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=tTcn8TdQjxMAg3fzxuUbYOS9sObMU2TQ23Q1iSUut5M%3D",