diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml
index 158d1b1..555e605 100644
--- a/.idea/libraries/Dart_Packages.xml
+++ b/.idea/libraries/Dart_Packages.xml
@@ -5,798 +5,798 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml
index cb79f3d..6ae284f 100644
--- a/.idea/libraries/Dart_SDK.xml
+++ b/.idea/libraries/Dart_SDK.xml
@@ -1,25 +1,25 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/dafl_project_flutter/assets/images/play_spotify_button.png b/Sources/dafl_project_flutter/assets/images/play_spotify_button.png
index f22d5cb..92fac10 100644
Binary files a/Sources/dafl_project_flutter/assets/images/play_spotify_button.png and b/Sources/dafl_project_flutter/assets/images/play_spotify_button.png differ
diff --git a/Sources/dafl_project_flutter/lib/services/database/database_saver.dart b/Sources/dafl_project_flutter/lib/services/database/database_saver.dart
index 7c2a13a..4e26269 100644
--- a/Sources/dafl_project_flutter/lib/services/database/database_saver.dart
+++ b/Sources/dafl_project_flutter/lib/services/database/database_saver.dart
@@ -12,5 +12,6 @@ class DatabaseSaver implements Saver {
{'id': '', 'username': idDafl, 'password': passw}).whenComplete(() {
connection.close();
});
+ print('save');
}
}
diff --git a/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart b/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
index e0f33a4..26434d6 100644
--- a/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
+++ b/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
@@ -40,6 +40,7 @@ class _MainPageProfilState extends State {
@override
Widget build(BuildContext context) {
+ double width = MediaQuery.of(context).size.width;
double height = MediaQuery.of(context).size.height;
return Container(
color: const Color(0xFF141414),
@@ -340,7 +341,7 @@ class _MainPageProfilState extends State {
snapshot.data!.name.length >
22
? SizedBox(
- width: 220,
+ width: width*0.5,
child:
ScrollLoopAutoScroll(
delayAfterScrollInput:
diff --git a/Sources/dafl_project_flutter/lib/views/pages/sign_up/p_sign_up.dart b/Sources/dafl_project_flutter/lib/views/pages/sign_up/p_sign_up.dart
index 096b598..e33f35b 100644
--- a/Sources/dafl_project_flutter/lib/views/pages/sign_up/p_sign_up.dart
+++ b/Sources/dafl_project_flutter/lib/views/pages/sign_up/p_sign_up.dart
@@ -318,7 +318,7 @@ class _SignUpPageState extends State {
} else if (!await MyApp.controller.searchUser(username)) {
notify(0, context);
}
- if (password == "" || confirmPassword == "") {
+ else if (password == "" || confirmPassword == "") {
notify(4, context);
} else if (password.length < 8) {
notify(3, context);
@@ -327,7 +327,7 @@ class _SignUpPageState extends State {
} else {
MyApp.controller.save(username, password);
// create user in database
-
+ print("success");
Navigator.of(context).push(
PageTransition(
duration: const Duration(milliseconds: 300),