File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/shared/in-app-store Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class InAppStoreService implements OnDestroy {
7171
7272 this . store . refresh ( ) ;
7373 } catch ( error ) {
74- const errorMessage = this . translocoService . getTranslation (
74+ const errorMessage = this . translocoService . translate (
7575 'inAppPurchase.failedToInitInAppStore'
7676 ) ;
7777 this . errorService . toastError$ ( errorMessage ) . toPromise ( ) ;
@@ -131,7 +131,7 @@ export class InAppStoreService implements OnDestroy {
131131 } )
132132 ) ;
133133 } catch ( error ) {
134- const errorMessage = this . translocoService . getTranslation (
134+ const errorMessage = this . translocoService . translate (
135135 'wallets.buyNum.failedToAddPoints'
136136 ) ;
137137 this . errorService . toastError$ ( errorMessage ) . toPromise ( ) ;
@@ -175,7 +175,7 @@ export class InAppStoreService implements OnDestroy {
175175 }
176176
177177 private readonly onStoreError = ( _ : IAPError ) => {
178- const errorMessage = this . translocoService . getTranslation (
178+ const errorMessage = this . translocoService . translate (
179179 'inAppPurchase.inAppPurchaseErrorOcurred'
180180 ) ;
181181 this . errorService . toastError$ ( errorMessage ) . toPromise ( ) ;
You can’t perform that action at this time.
0 commit comments