From e7729a8ce82e76589c6770347e47d7930028aefc Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Wed, 3 Dec 2025 21:35:41 +0200 Subject: [PATCH] QOL: About MIH Share button update --- .../about_mih/package_tools/mih_info.dart | 42 +++++++++++++++---- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart b/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart index 509ef1ba..91b2e034 100644 --- a/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart +++ b/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart @@ -984,11 +984,11 @@ class _MihInfoState extends State { children: [ SpeedDialChild( child: Icon( - Icons.vpn_lock, + Icons.android, color: MihColors.getPrimaryColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), ), - label: "MIH - Web", + label: "Android", labelBackgroundColor: MihColors.getGreenColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), labelStyle: TextStyle( @@ -1001,8 +1001,8 @@ class _MihInfoState extends State { onTap: () { shareMIHLink( context, - "Check out the MIH app on the Web", - "https://app.mzansi-innovation-hub.co.za/", + "Check out the MIH app on the Play Store", + "https://play.google.com/store/apps/details?id=za.co.mzansiinnovationhub.mih", ); }, ), @@ -1012,7 +1012,7 @@ class _MihInfoState extends State { color: MihColors.getPrimaryColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), ), - label: "MIH - iOS", + label: "iOS", labelBackgroundColor: MihColors.getGreenColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), labelStyle: TextStyle( @@ -1032,11 +1032,11 @@ class _MihInfoState extends State { ), SpeedDialChild( child: Icon( - Icons.android, + Icons.store, color: MihColors.getPrimaryColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), ), - label: "MIH - Android", + label: "Huawei", labelBackgroundColor: MihColors.getGreenColor( MzansiInnovationHub.of(context)!.theme.mode == "Dark"), labelStyle: TextStyle( @@ -1049,8 +1049,32 @@ class _MihInfoState extends State { onTap: () { shareMIHLink( context, - "Check out the MIH app on the Play Store", - "https://play.google.com/store/apps/details?id=za.co.mzansiinnovationhub.mih", + "Check out the MIH app on the App Gallery", + "https://appgallery.huawei.com/app/C113315335?pkgName=za.co.mzansiinnovationhub.mih", + ); + }, + ), + SpeedDialChild( + child: Icon( + Icons.vpn_lock, + color: MihColors.getPrimaryColor( + MzansiInnovationHub.of(context)!.theme.mode == "Dark"), + ), + label: "Web", + labelBackgroundColor: MihColors.getGreenColor( + MzansiInnovationHub.of(context)!.theme.mode == "Dark"), + labelStyle: TextStyle( + color: MihColors.getPrimaryColor( + MzansiInnovationHub.of(context)!.theme.mode == "Dark"), + fontWeight: FontWeight.bold, + ), + backgroundColor: MihColors.getGreenColor( + MzansiInnovationHub.of(context)!.theme.mode == "Dark"), + onTap: () { + shareMIHLink( + context, + "Check out the MIH app on the Web", + "https://app.mzansi-innovation-hub.co.za/", ); }, ),