Skip to content

Commit

Permalink
fix: Fixing typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Mar 28, 2023
1 parent f0dc863 commit c6b0b06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and build **awesome cross-platform applications**!
- [Integration testing](#integration-testing)
- [A few remarks on `Flutter Web`](#a-few-remarks-on-flutter-web)
- [Adding a splash screen](#adding-a-splash-screen)
- [Speeding loading times](#speeding-loading-times)
- [Decreasing loading time](#decreasing-loading-time)
- [App demo 📱](#app-demo-)
- [0. Setting up a new project](#0-setting-up-a-new-project)
- [1. Project structure](#1-project-structure)
Expand Down Expand Up @@ -1991,7 +1991,7 @@ please visit
https://github.com/dwyl/flutter-phoenix-channels-demo#6-bonus-points-adding-splash-screen.


## Speeding loading times
## Decreasing loading time

Depending on the size of your `Flutter` project,
when building the final bundle for release,
Expand All @@ -2006,7 +2006,9 @@ like [`Lighthouse`](https://chrome.google.com/webstore/detail/lighthouse/blipmdc
Although it is generally not recommended to tinker with output files
if you're beginner,
we have created a small document that will you guide you through
speeding up your load times on `Flutter` web,
speeding up your load times on `Flutter` web
by downloading asset resources in parallel.
This will decrease your loading time,
even if it's a tiny bit. 😊


Expand Down
10 changes: 5 additions & 5 deletions guides/flutter-web-speed-boost/flutter-web-speed-boost.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ flutter build web --release --web-renderer html
> between using an `html` or `canvaskit` web renderer,
> visit https://github.com/dwyl/flutter-phoenix-channels-demo#61-switching-between-the-html-and-canvaskit-web-renderers.
>
> By using `canvaskit` instead of `html`,
> we will need to make a small change for our "hack" to work correctly.
> If you are using `canvaskit` instead of `html`,
> you will need to make a small change for our "hack" to work correctly.
> Don't worry, we'll tell you when 🙂.
After running this command,
Expand Down Expand Up @@ -111,7 +111,7 @@ This will save us some valuable milliseconds!
Your changes should look like the following.
https://github.com/dwyl/learn-flutter/pull/84/commits/69347403f53594b041064e805dcbffe023952361
[`flutter.js`](https://github.com/dwyl/learn-flutter/pull/84/commits/69347403f53594b041064e805dcbffe023952361)
Now let's create our patch files.
If you create two different files,
Expand Down Expand Up @@ -150,7 +150,7 @@ You can check
the needed changes to the file
in the following commit.

https://github.com/dwyl/learn-flutter/pull/84/commits/b1edc58de99014f7423fdc9c08f207ec611b6439
[`flutter_service_worker.js`](https://github.com/dwyl/learn-flutter/pull/84/commits/b1edc58de99014f7423fdc9c08f207ec611b6439)

You can create the patch file in the same fashion as before.
It should look like the following.
Expand Down Expand Up @@ -230,5 +230,5 @@ If you just want the code,
please check the PR we made to our `app`
at https://github.com/dwyl/app/pull/330/files.

All of the changed code lives there.
All the code you need to change lives there.
You can re-use it to your heart's content!

0 comments on commit c6b0b06

Please sign in to comment.