Skip to content

Commit

Permalink
Changes for version 1.01 production release
Browse files Browse the repository at this point in the history
  • Loading branch information
phot0x authored and phot0x committed Jun 18, 2020
1 parent f60c27c commit 19fb553
Show file tree
Hide file tree
Showing 14 changed files with 10,948 additions and 10,792 deletions.
Binary file modified App/assets/images/splash_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions App/ios/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@
baseConfigurationReference = 3FD92F64A8AC29470403FA49 /* Pods-App.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 22;
CURRENT_PROJECT_VERSION = 24;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = FQ8J54HD9C;
ENABLE_BITCODE = NO;
Expand All @@ -622,7 +622,7 @@
);
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 3.2;
MARKETING_VERSION = 3.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -639,7 +639,7 @@
baseConfigurationReference = 22113148A0E2F51415B199F1 /* Pods-App.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 22;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = FQ8J54HD9C;
ENABLE_BITCODE = NO;
HEADER_SEARCH_PATHS = (
Expand All @@ -648,7 +648,7 @@
);
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 3.2;
MARKETING_VERSION = 3.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
4 changes: 2 additions & 2 deletions App/src/components/Forms/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Login extends Component {
danger
onPress={this.props.login}
>
<Text style={styles.whiteText}>LOGIN</Text>
<Text style={styles.whiteText}>Login</Text>
</Button>
<Button
onPress={this.props.navigateToRegisterScreen}
Expand All @@ -73,7 +73,7 @@ class Login extends Component {
// bordered
dark
>
<Text style={styles.whiteText}>SIGN-UP A FOR NEW ACCOUNT</Text>
<Text style={styles.whiteText}>Sign-up for a new account</Text>
</Button>
<Button
onPress={() => this.props.navigateToDashboard(true)} // true is for isGuest param
Expand Down
Binary file modified App/src/components/MapDetails/static/markerH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9,799 changes: 5,026 additions & 4,773 deletions App/src/components/MapOverview/static/marker.ai

Large diffs are not rendered by default.

Binary file modified App/src/components/MapOverview/static/markerH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions App/src/components/RestaurantListView/RestaurantListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,24 @@ class RestaurantListView extends React.PureComponent {
return (
<List style={{ backgroundColor: "white" }}>
{this.state.restaurants.map((restaurant, index) => {
// Roud th decimal.
const theTotalDistance =
(Math.round((restaurant.dist.calculated / 1000) * 10) / 10).toFixed(
1
) + " KM";
// Return the reastaurant.
return (
<ListItem
avatar
key={index}
onPress={() => this.props.goToDetailsPage(restaurant._id)}
onPress={() =>
this.props.goToDetailsPage(restaurant._id, theTotalDistance)
}
style={{ backgroundColor: "white" }}
style={styles.listItem}
>
<Left style={styles.distanceContainer}>
<Text style={styles.distanceField}>
{(
Math.round((restaurant.dist.calculated / 1000) * 10) / 10
).toFixed(1)}{" "}
KM
</Text>
{/* <Text style={styles.distanceField}>KM</Text> */}
<Text style={styles.distanceField}>{theTotalDistance}</Text>
</Left>
<Body>
<Text>{restaurant.name}</Text>
Expand Down
2 changes: 1 addition & 1 deletion App/src/components/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Slider extends Component {
height: 15,
borderRadius: 15,
marginHorizontal: 8,
backgroundColor: "black",
backgroundColor: "#FF1B15",
}}
inactiveDotStyle={
{
Expand Down
1 change: 1 addition & 0 deletions App/src/components/Slider/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { width: screenWidth } = Dimensions.get("window");
const styles = StyleSheet.create({
item: {
width: screenWidth - 30,
// width: screenWidth - 30,
height: screenWidth,
},
imageContainer: {
Expand Down
3 changes: 2 additions & 1 deletion App/src/containers/Dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ class Dashboard extends React.Component {
}

goToDetailsPage(theRestaurantId) {
// console.log(this.state)
this.props.navigation.navigate("Details", {
rid: theRestaurantId,
user: this.state.user,
Expand Down Expand Up @@ -264,7 +265,7 @@ class Dashboard extends React.Component {

{this.state.loadedRestaurants ? (
<Content>
{/* Ads */}
{/* Ads @TODO -> REFACTOR into its own component */}
{this.state.displayAd ? (
<View style={styles.ad}>
<AdMobBanner
Expand Down
3 changes: 2 additions & 1 deletion App/src/containers/Details/Details.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Details extends React.PureComponent {
this.getRestaurantDetails();

const currentUser = this.props.navigation.getParam("user");
const distanceField = this.props.navigation.getParam("user");

this.setState({ user: currentUser });
}
Expand Down Expand Up @@ -294,7 +295,7 @@ class Details extends React.PureComponent {
<Slider {...this.state.restaurant} />
{/* Start Slider/Carousel */}

{/* Ads */}
{/* Ads @TODO -> REFACTOR into its own component*/}
{this.state.displayAd ? (
<View style={styles.ad}>
<AdMobBanner
Expand Down
4 changes: 2 additions & 2 deletions App/src/containers/Details/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const styles = StyleSheet.create({
alignSelf: "center",
},
container: {
padding: 10,
padding: 15,
},
buttonSubmitCloseBtn: {
marginTop: 10,
Expand All @@ -103,7 +103,7 @@ const styles = StyleSheet.create({
height: 200,
},
ad: {
marginTop: 10,
marginTop: 40,
marginBottom: 40,
flex: 1,
justifyContent: "center",
Expand Down
Binary file removed Server/data/.DS_Store
Binary file not shown.
11,898 changes: 5,898 additions & 6,000 deletions splash.ai

Large diffs are not rendered by default.

0 comments on commit 19fb553

Please sign in to comment.