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

There might be errors in the description of updateShowCompleted in codelab #73

Open
sanao1006 opened this issue Feb 20, 2024 · 0 comments

Comments

@sanao1006
Copy link

I found two parts of the codelab description that might possibly be errors and report them.

First look at the description in the section on Writing data to Proto DataStore in codelab

image

I'm not sure, but perhaps userPreferencesStore.updateData() is correct for the red line in the image, not dataStore.updateData().

Second, the sample code in the image above is probably incorrect when the language is not English in codelab.
For example, look at the sample code when the codelab language is Japanese
image

As well as sample code for the English version,

dataStore..updateData { ...

The above should be modified as follows

userPreferencesStore.updateData { ...
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

No branches or pull requests

1 participant