forked from eatvio/eatvio_app
fixed profile, recipeis and diets
This commit is contained in:
@@ -56,7 +56,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
const SizedBox(height: 12),
|
||||
_aboutEatvio(state),
|
||||
const SizedBox(height: 12),
|
||||
if (state.profile.role != 'consultant')
|
||||
if (!state.profile.roles.contains('consultant'))
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: _becomeConsultantButton(state),
|
||||
|
||||
Reference in New Issue
Block a user