mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
📝 fix a typo
interrputed => interrupted
This commit is contained in:
@@ -30,7 +30,7 @@ struct Converter<content::DownloadItem::DownloadState> {
|
||||
download_state = "cancelled";
|
||||
break;
|
||||
case content::DownloadItem::INTERRUPTED:
|
||||
download_state = "interrputed";
|
||||
download_state = "interrupted";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -39,7 +39,7 @@ Emits when the `downloadItem` gets updated.
|
||||
* `interrupted` - An error broke the connection with the file server.
|
||||
|
||||
Emits when the download is in a terminal state. This includes a completed
|
||||
download, a cancelled download(via `downloadItem.cancel()`), and interrputed
|
||||
download, a cancelled download(via `downloadItem.cancel()`), and interrupted
|
||||
download that can't be resumed.
|
||||
|
||||
## Methods
|
||||
|
||||
Reference in New Issue
Block a user