|
|
@@ -82,9 +82,9 @@ const getPermission = (back) => {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-const LocationPermission = ({visible=false, onView}) => (
|
|
|
+const LocationPermission = ({visible=false, bottomDivide=false, onView}) => (
|
|
|
visible
|
|
|
- ? <View style={styles.permissionView}>
|
|
|
+ ? <View style={[styles.permissionView, (bottomDivide ? styles.bottomTabDivide : {})]}>
|
|
|
<TextView
|
|
|
style={styles.permissionText}
|
|
|
numberOfLines={1}>{$t("home.locationPermissionTips")}</TextView>
|
|
|
@@ -121,6 +121,9 @@ const styles = StyleSheet.create({
|
|
|
flexDirection: 'row',
|
|
|
backgroundColor: '#FEB751'
|
|
|
},
|
|
|
+ bottomTabDivide: {
|
|
|
+ bottom: 76
|
|
|
+ },
|
|
|
permissionText: {
|
|
|
flex: 1,
|
|
|
color: textDark,
|