add test sandbox profile

This commit is contained in:
2024-09-10 16:21:49 +02:00
parent 1ee31b46fe
commit 29affc7786

View File

@@ -121,25 +121,25 @@ class _SignInState extends State<SignIn> {
p: getPrim(),
s: getSec(),
));
if (AppEnviroment.getEnv() == "Dev") {
tileList.add(HomeTile(
onTap: () {
setState(() {
emailController.text = "test@mzansi-innovation-hub.co.za";
passwordController.text = "Testprofile@1234";
});
validateInput();
},
tileName: "Test",
tileIcon: Icon(
Icons.warning,
color: getSec(),
size: 200,
),
p: getPrim(),
s: getSec(),
));
}
//if (AppEnviroment.getEnv() == "Dev") {
tileList.add(HomeTile(
onTap: () {
setState(() {
emailController.text = "test@mzansi-innovation-hub.co.za";
passwordController.text = "Testprofile@1234";
});
validateInput();
},
tileName: "Test",
tileIcon: Icon(
Icons.warning_amber_rounded,
color: getSec(),
size: 200,
),
p: getPrim(),
s: getSec(),
));
//}
}
void loginError() {