From 7959a71cd48b8efb8e177a94f34e3497560e5006 Mon Sep 17 00:00:00 2001 From: Olga Shen Date: Mon, 13 May 2024 14:12:59 +0800 Subject: [PATCH] fix(features/home/details/details.page.ts): typo --- src/app/features/home/details/details.page.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/features/home/details/details.page.ts b/src/app/features/home/details/details.page.ts index e62126621..9bf08afe7 100644 --- a/src/app/features/home/details/details.page.ts +++ b/src/app/features/home/details/details.page.ts @@ -190,7 +190,7 @@ export class DetailsPage { 1 ); - private readonly shareMemuDismissed$ = new Subject(); + private readonly shareMenuDismissed$ = new Subject(); readonly activeDetailedCapture$ = this._activeDetailedCapture$.pipe( distinctUntilChanged(), @@ -429,7 +429,7 @@ export class DetailsPage { this.actionSheetController.create({ buttons }).then(sheet => { sheet.present(); sheet.onDidDismiss().then(() => { - this.shareMemuDismissed$.next(); + this.shareMenuDismissed$.next(); }); }); }) @@ -561,7 +561,7 @@ export class DetailsPage { return of(downloadResult.path); }), untilDestroyed(this), - takeUntil(this.shareMemuDismissed$) + takeUntil(this.shareMenuDismissed$) ) .toPromise(); @@ -656,7 +656,7 @@ export class DetailsPage { toolbarColor: '#564dfc', }) ) - .pipe(untilDestroyed(this), takeUntil(this.shareMemuDismissed$)) + .pipe(untilDestroyed(this), takeUntil(this.shareMenuDismissed$)) .toPromise(); }