fix puntuaciones
This commit is contained in:
@@ -199,7 +199,14 @@ class _DrawerProfessionalState extends State<DrawerProfessional> {
|
||||
return Container(
|
||||
color: const Color(0xFF2BA4EC),
|
||||
child: ListTile(
|
||||
onTap: () {},
|
||||
onTap: () {
|
||||
if (ModalRoute.of(context)?.settings.name !=
|
||||
'/solicitud') {
|
||||
Navigator.pushNamed(context, '/solicitud');
|
||||
} else {
|
||||
Scaffold.of(context).openEndDrawer();
|
||||
}
|
||||
},
|
||||
trailing: const Icon(
|
||||
Icons.keyboard_arrow_right,
|
||||
color: Colors.white,
|
||||
@@ -239,8 +246,7 @@ class _DrawerProfessionalState extends State<DrawerProfessional> {
|
||||
context,
|
||||
CupertinoPageRoute(
|
||||
builder: (BuildContext context) {
|
||||
return ReputationScreen(
|
||||
professional: professional!);
|
||||
return ReputationScreen();
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user