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),