Skip to content

Commit 7543a9b

Browse files
fix bugs on screen top five
1 parent 1cfc1f4 commit 7543a9b

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.expo/packager-info.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"devToolsPort": 19002,
3-
"expoServerPort": null,
4-
"packagerPort": null,
5-
"packagerPid": null,
6-
"expoServerNgrokUrl": null,
7-
"packagerNgrokUrl": null,
8-
"ngrokPid": null,
3+
"expoServerPort": 19000,
4+
"packagerPort": 19001,
5+
"packagerPid": 15091,
6+
"expoServerNgrokUrl": "https://xq-yzn.dmejia1204.buscomida.exp.direct",
7+
"packagerNgrokUrl": "https://packager.xq-yzn.dmejia1204.buscomida.exp.direct",
8+
"ngrokPid": 15178,
99
"webpackServerPort": null
1010
}

app/screens/TopFive.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ export default class TopFive extends Component {
7777
)
7878
} else {
7979
return (
80-
<View>
80+
<View style={styles.chargeTop}>
8181
<ActivityIndicator size='large' />
82-
{/*<Text>Loading Top 5...</Text>*/}
82+
<Text>Loading Top 5...</Text>
8383
</View>
8484
)
8585
}
@@ -120,5 +120,8 @@ const styles = StyleSheet.create({
120120
color: 'grey',
121121
marginTop: 10,
122122
textAlign: 'justify'
123+
},
124+
chargeTop: {
125+
alignItems: 'center'
123126
}
124127
});

0 commit comments

Comments
 (0)