Skip to content
Snippets Groups Projects
Commit 0c8a927f authored by Erik Hinkelmanns's avatar Erik Hinkelmanns
Browse files

- cleanup

parent 5c0633d7
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,7 @@ class _ClassificationPageState extends State<ClassificationPage> {
children: <Widget>[
GestureDetector(
onTap: () async {
String genre = await changeFirebase().getGenreByHex('FF0000');
print('Get genre by hex ' + genre);
if(!_redSelected){closeAll(); setState(() => _redSelected = true); }
else{closeAll();}
......
......@@ -98,7 +98,7 @@ class _LoginPageState extends State<LoginPage> {
: const SizedBox(),
loginRegisterButton(context, true, (){
//Todo undo comment
/*FirebaseAuth.instance.signInWithEmailAndPassword(
FirebaseAuth.instance.signInWithEmailAndPassword(
email: _emailTextController.text,
password: _passwordTextController.text).then((value) {
Navigator.push(context, MaterialPageRoute(builder: (context)=>const ClassificationPage()));
......@@ -106,7 +106,7 @@ class _LoginPageState extends State<LoginPage> {
setState(() {
_wrongInput = true;
});
});*/
});
Navigator.push(context, MaterialPageRoute(builder: (context)=>MusicPlayerState(child: const HUD())));
}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment