From 60139d208e2ad779a759e61000e6918d6834aac2 Mon Sep 17 00:00:00 2001 From: pdenert Date: Fri, 8 Nov 2024 18:23:14 +0100 Subject: [PATCH] Remove unneeded conditions --- packages/patrol_log/lib/src/patrol_log_reader.dart | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/patrol_log/lib/src/patrol_log_reader.dart b/packages/patrol_log/lib/src/patrol_log_reader.dart index d8f39d1e4..450eff2eb 100644 --- a/packages/patrol_log/lib/src/patrol_log_reader.dart +++ b/packages/patrol_log/lib/src/patrol_log_reader.dart @@ -111,20 +111,6 @@ class PatrolLogReader { } else { _controller.add(entry); } - } else if (showFlutterLogs && line.contains('Runner: (Flutter) flutter:')) { - final regExp = RegExp(r'Runner: \(Flutter\) (.*)'); - final match = regExp.firstMatch(line); - if (match != null) { - final matchedText = match.group(1)!; - log(matchedText); - } - } else if (showFlutterLogs && line.contains('I flutter :')) { - final regExp = RegExp('I (.*)'); - final match = regExp.firstMatch(line); - if (match != null) { - final matchedText = match.group(1)!; - log(matchedText); - } } }