Skip to content

Commit

Permalink
downloads: Fix some typos in the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jul 8, 2020
1 parent 14c0e7d commit 505bb48
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions components/feature/downloads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ downloadsFeature.start()
```

### SimpleDownloadDialogFragment
A confirmation dialog to be called before a download is trigger.

A confirmation dialog to be called before a download is triggered.

SimpleDownloadDialogFragment is the default dialog if you don't provide a value to DownloadsFeature.
It is composed by a title, a negative and a positive bottoms. When the positive button is clicked the download it triggered.
It is composed by a title, a negative and a positive bottoms. When the positive button is clicked the download is triggered.

```kotlin
//To use the default behavior, just provide a fragmentManager/childFragmentManager.
Expand Down Expand Up @@ -169,4 +170,4 @@ This component emits the following [Facts](../../support/base/README.md#Facts):

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
file, You can obtain one at http://mozilla.org/MPL/2.0/
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import android.graphics.drawable.GradientDrawable
* A confirmation dialog to be called before a download is triggered.
* Meant to be used in collaboration with [DownloadsFeature]
*
* [SimpleDownloadDialogFragment] is the default dialog use by DownloadsFeature if you don't provide a value.
* [SimpleDownloadDialogFragment] is the default dialog used by DownloadsFeature if you don't provide a value.
* It is composed by a title, a negative and a positive bottoms. When the positive button is clicked
* the download it triggered.
* the download is triggered.
*
*/
class SimpleDownloadDialogFragment : DownloadDialogFragment() {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 505bb48

Please sign in to comment.