Skip to content

Commit 940b694

Browse files
committed
2 parents 5ae29ea + d495504 commit 940b694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void main() async {
1919
2020
// Without offline last resort
2121
void main() async {
22-
await GitHubColour.getInstance(offlineLastResort = false);
22+
await GitHubColour.getInstance(offlineLastResort: false);
2323
runApp(const YourApp());
2424
}
2525
```
@@ -62,7 +62,7 @@ class _YourAnotherAppWidgetState extends State<YourAnotherAppWidget> {
6262
This package supported caching system as a backup when making request failed. It uses LZMA compress data and store as a file under temporary directory (for VM)
6363
or store as `shared_preference` (for Web, which is `LocalStorage`).
6464

65-
If no cache available, by default, `GitHubColour.getInstance()` will uses [local's `colors.json`](lib/colors.json) as last resort. However, this package will not make a new release when newer commit of `color.json` pushed since it minified that ensure the package can be downloaded as fast as possible.
65+
If no cache available, by default, `GitHubColour.getInstance()` will uses [local's `colors.json`](lib/colors.json) as last resort. However, this package will not synchronized when newer commit of `color.json` pushed since it minified that ensure the package can be downloaded as fast as possible.
6666

6767
## Note for American English developers
6868

0 commit comments

Comments
 (0)