From 0bf26296647c61ac159bd28e6598b99d54a5ce7b Mon Sep 17 00:00:00 2001 From: Emily Liu Date: Wed, 23 Dec 2020 00:30:14 -0500 Subject: [PATCH] put polls page into more stack navigator --- app/App.js | 1 - app/Images.js | 1 + app/More.js | 11 +++++++++++ app/Poll.js | 9 --------- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/app/App.js b/app/App.js index 59a4b87..25363a3 100644 --- a/app/App.js +++ b/app/App.js @@ -77,7 +77,6 @@ class App extends React.Component { > - diff --git a/app/Images.js b/app/Images.js index 5a3c879..ec26ac4 100644 --- a/app/Images.js +++ b/app/Images.js @@ -28,6 +28,7 @@ const Images = { student:require('./assets/student.png'), announcements:require('./assets/announcements.png'), resources:require('./assets/resources.png'), + polls:require('./assets/polls.png'), } export default Images; \ No newline at end of file diff --git a/app/More.js b/app/More.js index 65515fe..3811763 100644 --- a/app/More.js +++ b/app/More.js @@ -53,6 +53,7 @@ class MoreSwitch extends React.Component { {name:"Lunch Events",key:"lunchevent", img:Images.lunch}, {name:"SSL Opportunities",key:"sslopps", img:Images.sslopps}, {name:"Challenge of the Week",key:"challengeweek", img:Images.challenge}, + {name:"Polls", key:"polls", img: Images.polls}, {name:"Settings", key:"settings", img: Images.settings}, ]} renderItem={({item})=> @@ -147,6 +148,16 @@ class More extends React.Component { headerBackground: ()=>background }} /> + background + }} + /> - - - Polls - - - Linking.openURL("https://google.com")}>