Browse Source

chore(staging): auto-merge origin/master into staging

staging
Ali Alavi 2 weeks ago
parent
commit
0e58b30224
  1. 2
      src/components/Componentes/report-actions-sheet.tsx
  2. 4
      src/components/Componentes/support-access.ts
  3. 4
      src/components/Componentes/support-sheet.tsx

2
src/components/Componentes/report-actions-sheet.tsx

@ -73,7 +73,7 @@ export function ReportActionsSheet({ onClose }: ReportActionsSheetProps) {
// ✅ دکمه مشاور
const handleOpenConsultant = () => {
sendToFlutter("REQUEST_CONSULTANT", {
consultant: "habib@gmail.com",
consultant: "marriage_specialist@habibapp.com",
});
console.log("👨‍⚕️ REQUEST_CONSULTANT ارسال شد");
};

4
src/components/Componentes/support-access.ts

@ -22,14 +22,14 @@ export function openDirectSupportContact(): void {
app?.postMessage(
JSON.stringify({
action: "open_consultant_page",
data: { consultant: "habib@gmail.com" },
data: { consultant: "marriage_specialist@habibapp.com" },
}),
);
} catch (err) {
console.error("Error calling HabibApp bridge", err);
}
} else if (typeof window !== "undefined") {
window.open("mailto:habib@gmail.com", "_blank");
window.open("mailto:marriage_specialist@habibapp.com", "_blank");
}
}

4
src/components/Componentes/support-sheet.tsx

@ -90,14 +90,14 @@ export function SupportSheet({ isOpen, onClose }: SupportSheetProps) {
app?.postMessage(
JSON.stringify({
action: "open_consultant_page",
data: { consultant: "habib@gmail.com" },
data: { consultant: "marriage_specialist@habibapp.com" },
}),
);
} catch (err) {
console.error("Error calling HabibApp bridge", err);
}
} else {
window.open("mailto:habib@gmail.com", "_blank");
window.open("mailto:marriage_specialist@habibapp.com", "_blank");
}
closeSheet();
};

Loading…
Cancel
Save