mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 05:43:11 +08:00
fix typo
This commit is contained in:
@@ -399,7 +399,7 @@ export class Pushy {
|
|||||||
target: 'update.apk',
|
target: 'update.apk',
|
||||||
hash: progressKey,
|
hash: progressKey,
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.report({ type: 'errowDownloadAndInstallApk' });
|
this.report({ type: 'errorDownloadAndInstallApk' });
|
||||||
});
|
});
|
||||||
if (this.progressHandlers[progressKey]) {
|
if (this.progressHandlers[progressKey]) {
|
||||||
this.progressHandlers[progressKey].remove();
|
this.progressHandlers[progressKey].remove();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export type EventType =
|
|||||||
| 'downloadingApk'
|
| 'downloadingApk'
|
||||||
| 'rejectStoragePermission'
|
| 'rejectStoragePermission'
|
||||||
| 'errorStoragePermission'
|
| 'errorStoragePermission'
|
||||||
| 'errowDownloadAndInstallApk';
|
| 'errorDownloadAndInstallApk';
|
||||||
|
|
||||||
export interface EventData {
|
export interface EventData {
|
||||||
currentVersion: string;
|
currentVersion: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user