Skip to content

Commit

Permalink
docs: Correct file name discrepancies in tutorial documentation (#5740)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanRuQian committed Mar 20, 2024
1 parent 17dc887 commit 9121f3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/tutorial/06-add-more-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Any GraphQL field can take arguments like `missionPatch` above, and arguments ca

## Bind the info

In `LaunchListAdapter.kt`, bind the GraphQL data to the mission name, site, and mission patch using Coil's `AsyncImage`:
In `LaunchList.kt`, bind the GraphQL data to the mission name, site, and mission patch using Coil's `AsyncImage`:

```kotlin title="app/src/main/java/com/example/rocketreserver/LaunchList.kt"
@Composable
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial/11-subscriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Scaffold(
Like for queries and mutations, the subscription will throw an error if the connection is lost or any other protocol error happens. To handle these situations, you can configure the client to retry the subscription with the `webSocketReopenWhen` function. Return `true` to retry, `false` to stop. To avoid retrying too often, you can use the `attempt` parameter to delay the retry:
```kotlin title="MainActivity.kt"
```kotlin title="Apollo.kt"
val apolloClient = ApolloClient.Builder()
(...)
.webSocketReopenWhen { throwable, attempt -> // highlight-line
Expand Down

0 comments on commit 9121f3b

Please sign in to comment.