Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

func currentWeather is showing wrong version #3

Open
wants to merge 1 commit into
base: editions/4.0
Choose a base branch
from

Conversation

allensoberano
Copy link

In the book on chapter 12 the weather app is suppose to show the dummy data but the code provided in the start folder contains the final code with the api call. Shouldn't it be changed to the "dummy data" code that is mentioned at the start of the lesson?

In the book on chapter 12 the weather app is suppose to show the dummy data but the code provided in the start folder contains the final code with the api call. Shouldn't it be changed to the "dummy data" code that is mentioned at the start of the lesson?
@icanzilb
Copy link
Member

Oh, nice catch! Looks good to me, what do you think @freak4pc ?

}
}
// Placeholder call
return Observable.just(
Copy link
Member

Choose a reason for hiding this comment

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

Good catch!
We can shorten this to one of these two variations:

Suggested change
return Observable.just(
Observable.just(
Suggested change
return Observable.just(
.just(

Besides, looks good. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants