File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change @@ -128,15 +128,6 @@ class Router extends React.Component {
128128 } ) ;
129129 }
130130
131- onWillFocus ( route ) {
132- this . setState ( { route } ) ;
133- this . emitter . emit ( 'willFocus' , route . name ) ;
134- }
135-
136- onDidFocus ( route ) {
137- this . emitter . emit ( 'didFocus' , route . name ) ;
138- }
139-
140131 onBack ( navigator ) {
141132 if ( this . state . route . index > 0 ) {
142133 navigator . pop ( ) ;
Original file line number Diff line number Diff line change @@ -13,20 +13,20 @@ class TweetBig extends React.Component {
1313
1414 return (
1515 < ScrollView >
16- < View style = { this . styles . tweetContainer } >
17- < View style = { this . styles . userContainer } >
18- < Image source = { { uri : user . avatar } } style = { this . styles . avatar } />
19- < View style = { this . styles . rightContainer } >
20- < Text style = { this . styles . name } > { user . name } </ Text >
21- < Text style = { this . styles . username } > @{ user . username } </ Text >
16+ < View style = { styles . tweetContainer } >
17+ < View style = { styles . userContainer } >
18+ < Image source = { { uri : user . avatar } } style = { styles . avatar } />
19+ < View style = { styles . rightContainer } >
20+ < Text style = { styles . name } > { user . name } </ Text >
21+ < Text style = { styles . username } > @{ user . username } </ Text >
2222 </ View >
2323 </ View >
24- < View style = { this . styles . textContainer } >
25- < Text style = { this . styles . text } > { text } </ Text >
24+ < View style = { styles . textContainer } >
25+ < Text style = { styles . text } > { text } </ Text >
2626 </ View >
27- < View style = { this . styles . retweetContainer } >
28- < Text style = { this . styles . rtBold } > 1</ Text >
29- < Text style = { this . styles . rtText } > RETWEET</ Text >
27+ < View style = { styles . retweetContainer } >
28+ < Text style = { styles . rtBold } > 1</ Text >
29+ < Text style = { styles . rtText } > RETWEET</ Text >
3030 </ View >
3131 </ View >
3232 </ ScrollView >
You can’t perform that action at this time.
0 commit comments