Skip to content

Commit 13da914

Browse files
committed
Error detectado: Al reiniciar la aplicación clickeando sobre el botón del logo, aun si los textos de la App continúan en el idioma previo al reinicio, la lista oscurece como seleccionado al primer elemento...
1 parent a848edd commit 13da914

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/Widgets/header.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ import 'package:arhcoder/generated/l10n.dart';
55
import 'package:flutter_svg/flutter_svg.dart';
66

77
AppBar buildAppBar() => AppBar
8-
(
8+
(
99
// Logo clickeable de ARH coder //
1010
title: MouseRegion
1111
(
1212
cursor: MaterialStateMouseCursor.clickable,
1313
child: GestureDetector
1414
(
15-
onTap: (){Get.offNamedUntil("/home", (route) => false);},
15+
onTap: ()
16+
{
17+
Get.offNamedUntil("/home", (route) => false);
18+
changeLanguage(Get.locale.languageCode);
19+
},
1620
onLongPress: (){Get.toNamed("/info");},
1721
child: Image.asset("assets/images/arhcoder.png", height: 24.0)
1822
)

0 commit comments

Comments
 (0)