uptadwe
This commit is contained in:
@@ -14,6 +14,7 @@ import 'package:prosappco/src/screens/profile.dart';
|
||||
import 'package:prosappco/src/screens/profile_pro.dart';
|
||||
import 'package:prosappco/src/screens/profile_pro_web.dart';
|
||||
import 'package:prosappco/src/screens/reputacion_pro.dart';
|
||||
import 'package:prosappco/src/screens/web_view.dart';
|
||||
import '../models/scores_model.dart';
|
||||
import '../screens/configuracion.dart';
|
||||
import '../screens/support.dart';
|
||||
@@ -211,7 +212,22 @@ class _DrawerProfessionalState extends State<DrawerProfessional> {
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
onTap: _irSugerencias,
|
||||
onTap: () {
|
||||
if (kIsWeb) {
|
||||
_irSugerencias();
|
||||
} else {
|
||||
Navigator.push(
|
||||
context,
|
||||
CupertinoPageRoute(
|
||||
builder: (BuildContext context) {
|
||||
return WebViewScreen(
|
||||
label: 'Sugerencias',
|
||||
link: 'https://admin.prosapp.co/sugerencias');
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
},
|
||||
leading: const Icon(
|
||||
Icons.campaign_outlined,
|
||||
color: Colors.black,
|
||||
|
||||
Reference in New Issue
Block a user