Limpieza de peso de imágenes

This commit is contained in:
2026-05-11 20:30:59 +02:00
parent 928cbd8a1d
commit e7c5b08ec0
94 changed files with 181 additions and 246 deletions
+15 -19
View File
@@ -209,24 +209,20 @@ class _PantallaFinPartidaOnlineState extends State<PantallaFinPartidaOnline> {
),
),
const SizedBox(height: 24),
SizedBox(
width: double.infinity,
height: 56,
child: OutlinedButton.icon(
onPressed: () async {
await context.read<ServicioNearby>().desconectar();
if (!context.mounted) return;
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (_) => const PantallaPrincipal(),
),
(route) => false,
);
},
icon: const Icon(Icons.home),
label: Text(l10n.mainMenu),
),
BotonFarolero.oscuro(
texto: l10n.mainMenu,
icono: Icons.home,
onPressed: () async {
await context.read<ServicioNearby>().desconectar();
if (!context.mounted) return;
Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (_) => const PantallaPrincipal(),
),
(route) => false,
);
},
),
],
),
@@ -277,7 +273,7 @@ class _ResultadoOnlineHero extends StatelessWidget {
child: Column(
children: [
Image.asset(
'assets/ui/generated/final_rewards/cinematic_burst.png',
'assets/ui/generated/final_rewards/cinematic_burst.webp',
height: 250,
fit: BoxFit.contain,
opacity: const AlwaysStoppedAnimation(0.95),