From 8269121c657267030981af0ed1b96d5f74f739cc Mon Sep 17 00:00:00 2001 From: ZhuchkaTriplesix Date: Sun, 11 Oct 2026 07:13:53 +0300 Subject: [PATCH] perf(connections): eliminate blocking File.existsSync() filesystem calls during widget build in DriverIconImage --- lib/features/connections/driver_icon.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/features/connections/driver_icon.dart b/lib/features/connections/driver_icon.dart index 8621793b..4628fea8 100644 --- a/lib/features/connections/driver_icon.dart +++ b/lib/features/connections/driver_icon.dart @@ -75,7 +75,6 @@ class DriverIconImage extends StatelessWidget { ); final file = File(path); - if (!file.existsSync()) return fallback; if (path.toLowerCase().endsWith('.svg')) { return SvgPicture.file(