From cb70968118c5264c0e88e73f2b49fb4c51e3918d Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Fri, 6 Jun 2025 14:13:22 +0200 Subject: [PATCH] add sandbox accounts back --- .../mih_packages/authentication/signin.dart | 81 +++++++++---------- 1 file changed, 39 insertions(+), 42 deletions(-) diff --git a/Frontend/lib/mih_packages/authentication/signin.dart b/Frontend/lib/mih_packages/authentication/signin.dart index 188bcd5f..1f17a7c3 100644 --- a/Frontend/lib/mih_packages/authentication/signin.dart +++ b/Frontend/lib/mih_packages/authentication/signin.dart @@ -549,52 +549,49 @@ class _SignInState extends State { //spacer const SizedBox(height: 35), - Visibility( - visible: AppEnviroment.getEnv() == "Dev", - child: Center( - child: SizedBox( - width: width, - //height: 100.0, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const Flexible( - flex: 1, - child: Padding( - padding: EdgeInsets.only(right: 10.0), - child: Divider(), - ), + Center( + child: SizedBox( + width: width, + //height: 100.0, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const Flexible( + flex: 1, + child: Padding( + padding: EdgeInsets.only(right: 10.0), + child: Divider(), ), - Flexible( - flex: 1, - child: GestureDetector( - child: Text( - 'Use Sandox Profile', - textAlign: TextAlign.center, - style: TextStyle( - fontWeight: FontWeight.bold, - fontSize: 15, - color: MzanziInnovationHub.of( - context)! - .theme - .secondaryColor()), - ), - onTap: () { - setState(() { - showProfiles = !showProfiles; - }); - }, + ), + Flexible( + flex: 1, + child: GestureDetector( + child: Text( + 'Use Sandox Profile', + textAlign: TextAlign.center, + style: TextStyle( + fontWeight: FontWeight.bold, + fontSize: 15, + color: MzanziInnovationHub.of( + context)! + .theme + .secondaryColor()), ), + onTap: () { + setState(() { + showProfiles = !showProfiles; + }); + }, ), - const Flexible( - flex: 1, - child: Padding( - padding: EdgeInsets.only(left: 10.0), - child: Divider(), - ), + ), + const Flexible( + flex: 1, + child: Padding( + padding: EdgeInsets.only(left: 10.0), + child: Divider(), ), - ], - ), + ), + ], ), ), ),