Skip to content

Commit f9f494d

Browse files
committed
fix: Eliminar el AppBar del Dashboard para simplificar la interfaz
1 parent b5a7ce0 commit f9f494d

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

lib/resources/views/dashboard/dashboard_view.dart

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,6 @@ class _DashboardViewState extends State<DashboardView> {
2121
@override
2222
Widget build(BuildContext context) {
2323
return Scaffold(
24-
appBar: AppBar(
25-
title: Text(
26-
'Dashboard',
27-
style: TextStyle(
28-
fontSize: _getAppBarTextSize(context),
29-
fontWeight: FontWeight.w600,
30-
),
31-
),
32-
actions: [
33-
// Botón de configuraciones solo para administradores
34-
if (hasPermission('settings:access'))
35-
IconButton(
36-
icon: Icon(
37-
Icons.settings,
38-
size: _getIconSize(context),
39-
),
40-
onPressed: () => Navigator.pushNamed(context, 'settings'),
41-
),
42-
],
43-
toolbarHeight: _getAppBarHeight(context),
44-
),
4524
body: _buildResponsiveBody(context),
4625
floatingActionButton: _buildResponsiveFAB(context),
4726
);

0 commit comments

Comments
 (0)