Browse Source

menu fixes

Oniel Mendez 3 years ago
parent
commit
37d8a91ffa

+ 0
- 2
fast_med_flutter/lib/routes/home.dart View File

@@ -23,8 +23,6 @@ class _HomeState extends State<Home>{
23 23
           children: [
24 24
             newButton(context,'/verOficinas','Ver Oficinas'),
25 25
             spaceBetween(),
26
-            newButton(context,'/calendario','Calendario'),
27
-            spaceBetween(),
28 26
             newButton(context,'/especialidades','especialidades'),
29 27
             spaceBetween(),
30 28
             newButton(context,'/translation','translation'),

+ 3
- 1
fast_med_flutter/lib/routes/ver_oficina.dart View File

@@ -189,7 +189,9 @@ class _VerOficinaState extends State<VerOficina>{
189 189
                     children: <Widget>[
190 190
                       TextButton(
191 191
                         child: const Text('Buscar Disponibilidad'),
192
-                        onPressed: () { /* ... */ },
192
+                        onPressed: () {
193
+                          Navigator.pushNamed(context, '/calendario');
194
+                        },
193 195
                       ),
194 196
                       const SizedBox(width: 8),
195 197
                     ],