comment out bookmark

This commit is contained in:
2025-07-25 10:07:51 +02:00
parent 14cf92e4be
commit e2bb96448f

View File

@@ -456,40 +456,10 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
// "Save us for later.", // "Save us for later.",
// Icons.bookmark_add_rounded, // Icons.bookmark_add_rounded,
// MihColors.getBluishPurpleColor(context), // MihColors.getBluishPurpleColor(context),
// const Color(0xff6e7dcc),
// () { // () {
// // _launchWebsite(widget.website); // // _launchWebsite(widget.website);
// print("Saving ${widget.business.Name} to Directory"); // print("Saving ${widget.business.Name} to Directory");
// showDialog( // showBookmarkAlert();
// 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(),
// );
// });
// }, // },
// ), // ),
const SizedBox(height: 10), const SizedBox(height: 10),
@@ -553,15 +523,15 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
); );
} }
void showDeleteReviewAlert() { void showBookmarkAlert() {
showDialog( showDialog(
context: context, context: context,
builder: (context) => MihPackageAlert( builder: (context) => MihPackageAlert(
alertColour: MzansiInnovationHub.of(context)!.theme.errorColor(), alertColour: MihColors.getSecondaryColor(context),
alertIcon: Icon( alertIcon: Icon(
Icons.warning_rounded, Icons.warning_rounded,
size: 100, size: 100,
color: MzansiInnovationHub.of(context)!.theme.errorColor(), color: MihColors.getSecondaryColor(context),
), ),
alertTitle: "Bookmark Business", alertTitle: "Bookmark Business",
alertBody: Column( alertBody: Column(