From cee708209e9971af3964a4117c3dd44e40577883 Mon Sep 17 00:00:00 2001 From: ahasani194 Date: Tue, 12 May 2026 20:24:55 +0330 Subject: [PATCH] update --- src/app/core/services/native-bridge.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/core/services/native-bridge.service.ts b/src/app/core/services/native-bridge.service.ts index cddd8e9..6be1a2d 100644 --- a/src/app/core/services/native-bridge.service.ts +++ b/src/app/core/services/native-bridge.service.ts @@ -132,8 +132,9 @@ export class NativeBridgeService { return { success: false, error: 'متاسفانه ارتباط با چاپگر برقرار نیست.' }; } try { + this.toastService.info({ text: 'در حال چاپ ...' }); // @ts-ignore - window.NativeBridge.print(JSON.stringify([payload])); + window.NativeBridge.print(JSON.stringify(payload)); return { success: true }; } catch (error) { this.toastService.warn({ text: 'متاسفانه ارتباط با چاپگر برقرار نیست.' });