Skip to content
Snippets Groups Projects
Commit 6fad6397 authored by MagicalSpyto's avatar MagicalSpyto
Browse files

nich viel verändert

parent 68e1c1a9
Branches WirMachenFirebaseMitRein
No related tags found
No related merge requests found
......@@ -74,10 +74,10 @@ class MoodPage extends State<StateMoodPage> {
}
//sendet den befehl music zum passenden genre rauszusuchen
_changeMusic() async {
//code zum musik ändern
String hexcode = selectedMood.red.toRadixString(16) + selectedMood.green.toRadixString(16) + selectedMood.blue.toRadixString(16);
String genre = await changeFirebase().getGenreByHex(hexcode);
print("genre = " + genre);
//playGenre();
}
//vergleicht zwei farben auf ähnlichkeit
_getColorDistance(Color c1, Color c2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment