File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -651,13 +651,14 @@ Future<bool> _sendStopDebuggingMessage(
651651 );
652652}
653653
654- _DebugSession ? _debugSessionForTab (int tabId, {required TabType type}) =>
655- switch (type) {
656- TabType .dartApp =>
657- _debugSessions.firstWhereOrNull ((session) => session.appTabId == tabId),
658- TabType .devTools => _debugSessions
659- .firstWhereOrNull ((session) => session.devToolsTabId == tabId)
660- };
654+ _DebugSession ? _debugSessionForTab (int tabId, {required TabType type}) {
655+ return switch (type) {
656+ TabType .dartApp =>
657+ _debugSessions.firstWhereOrNull ((session) => session.appTabId == tabId),
658+ TabType .devTools => _debugSessions
659+ .firstWhereOrNull ((session) => session.devToolsTabId == tabId)
660+ };
661+ }
661662
662663Future <bool > _authenticateUser (int tabId) async {
663664 final isAlreadyAuthenticated = await _fetchIsAuthenticated (tabId);
You can’t perform that action at this time.
0 commit comments