|
|
|
|
@ -62,9 +62,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
projectProvider = Provider.of(context);
|
|
|
|
|
// (user.isFamily == null || user.isFamily == false) && projectProvider.havePrivilege(2)
|
|
|
|
|
print(user.isFamily.toString());
|
|
|
|
|
print(user.isFamily.toString());
|
|
|
|
|
print(projectProvider.havePrivilege(2).toString());
|
|
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.75,
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
|
|