Updated default logo, made name a required field

This commit is contained in:
whysman 2024-11-05 20:11:21 -05:00
parent 1288eff91f
commit 65ba6f68ac
2 changed files with 5 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -177,6 +177,11 @@ class ProfileScreenState extends State<ProfileScreen> {
} else {
_navigateToChatScreen(); // Go to chat screen if this is the initial entry
}
} else {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text('Name cannot be empty!')),
);
return;
}
}