From d359974de5aa48ae7090ac642f6690d348ebd9f2 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 27 Jun 2026 19:28:26 -0500 Subject: [PATCH] fix: usar prosapp-logo.png local en sidebar en vez de Image.network Co-Authored-By: Claude Sonnet 4.6 --- lib/ui/shared/widgets/logo.dart | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/lib/ui/shared/widgets/logo.dart b/lib/ui/shared/widgets/logo.dart index 967a562..877afad 100644 --- a/lib/ui/shared/widgets/logo.dart +++ b/lib/ui/shared/widgets/logo.dart @@ -23,33 +23,10 @@ class Logo extends StatelessWidget { ), ], ), - child: Image.network( - 'https://www.prosapp.co/img/logo_prosapp.png', + child: Image.asset( + 'prosapp-logo.png', height: 38, fit: BoxFit.contain, - loadingBuilder: (context, child, progress) { - if (progress == null) return child; - return const SizedBox( - height: 38, - child: Center( - child: SizedBox( - width: 20, - height: 20, - child: CircularProgressIndicator(strokeWidth: 2, color: Color(0xFF42A4EF)), - ), - ), - ); - }, - errorBuilder: (_, __, ___) => const Text( - 'ProsApp', - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Color(0xFF42A4EF), - letterSpacing: 0.5, - ), - ), ), ), const SizedBox(height: 10),