diff --git a/lib/widgets/app_drawer.dart b/lib/widgets/app_drawer.dart index 3d39f2d..f368a94 100644 --- a/lib/widgets/app_drawer.dart +++ b/lib/widgets/app_drawer.dart @@ -124,10 +124,9 @@ class AppDrawer extends StatelessWidget { }), Obx(() { final signedIn = AuthService.to.isSignedIn; - // final projectId = ProjectService.to.activeProject.value?.uuid; - // final allowed = !Get.isRegistered() || - // PermissionService.to.canContacts(projectId: projectId); - final allowed = true; + final projectId = ProjectService.to.activeProject.value?.uuid; + final allowed = !Get.isRegistered() || + PermissionService.to.canContacts(projectId: projectId); if (!signedIn || !allowed) return const SizedBox.shrink(); return ListTile( leading: const Icon(Icons.house_outlined),