Updated default logo, made name a required field
This commit is contained in:
parent
1288eff91f
commit
65ba6f68ac
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 167 KiB |
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user