From e2bb96448fcd37bef99646275637bb71d734279c Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Fri, 25 Jul 2025 10:07:51 +0200 Subject: [PATCH] comment out bookmark --- .../components/mih_business_info_card.dart | 38 ++----------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_info_card.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_info_card.dart index 22d41afb..32a2bcf4 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_info_card.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/components/mih_business_info_card.dart @@ -456,40 +456,10 @@ class _MihBusinessCardState extends State { // "Save us for later.", // Icons.bookmark_add_rounded, // MihColors.getBluishPurpleColor(context), - // const Color(0xff6e7dcc), // () { // // _launchWebsite(widget.website); // print("Saving ${widget.business.Name} to Directory"); - // showDialog( - // context: context, - // builder: (context) { - // return MihPackageAlert( - // alertIcon: Icon( - // Icons.check_circle_rounded, - // size: 100, - // color: MzansiInnovationHub.of(context)! - // .theme - // .successColor(), - // ), - // alertTitle: "Saved to Directory", - // alertBody: Column( - // children: [ - // Text( - // "${widget.business.Name} has been saved to your directory.", - // style: TextStyle( - // color: MzansiInnovationHub.of(context)! - // .theme - // .secondaryColor(), - // fontSize: 15, - // ), - // ), - // ], - // ), - // alertColour: MzansiInnovationHub.of(context)! - // .theme - // .successColor(), - // ); - // }); + // showBookmarkAlert(); // }, // ), const SizedBox(height: 10), @@ -553,15 +523,15 @@ class _MihBusinessCardState extends State { ); } - void showDeleteReviewAlert() { + void showBookmarkAlert() { showDialog( context: context, builder: (context) => MihPackageAlert( - alertColour: MzansiInnovationHub.of(context)!.theme.errorColor(), + alertColour: MihColors.getSecondaryColor(context), alertIcon: Icon( Icons.warning_rounded, size: 100, - color: MzansiInnovationHub.of(context)!.theme.errorColor(), + color: MihColors.getSecondaryColor(context), ), alertTitle: "Bookmark Business", alertBody: Column(