Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

App bugfixes: map overlay and review thumbs up/down#79

Open
leevi978 wants to merge 2 commits intodevelopfrom
bugfix-review-thumbs
Open

App bugfixes: map overlay and review thumbs up/down#79
leevi978 wants to merge 2 commits intodevelopfrom
bugfix-review-thumbs

Conversation

@leevi978
Copy link

  • Made the modal that appears when a venue is clicked into a map overlay, so that the map itself is not resized and crashes.

  • Made thumbs up and down in reviews render properly by checking for 1 and -1 instead of true and false.

export default ({ selectedVenue, showDetails }) => {
return (
<ViewContainer opaque={true}>
<ViewContainer style={{ position: "absolute", bottom: 0, width: "100%" }} opaque={true}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Løste dette et problem, eller ble det lagt til som en "forsikring" mot at kartet flytter på seg?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tru det eller ei, men det løste hele kartproblemet

Comment on lines +68 to +69
name={this.reviewIsPositive(review) ? "thumb-up" : "thumb-down"}
color={this.reviewIsPositive(review) ? colors.positiveColor : colors.negativeColor}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

}}
onPress={e => {
this.props.deselectVenue();
this.removeMarkers();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants