From 9ec7867a3186000510f455cdcdb8c805a74ba6f1 Mon Sep 17 00:00:00 2001 From: Dmitry Grand Date: Fri, 27 Feb 2026 12:31:39 -0800 Subject: [PATCH] refactor: Replace InkWell with ElevatedButton for build log link and make URL launch asynchronous. --- dashboard/lib/views/presubmit_view.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/lib/views/presubmit_view.dart b/dashboard/lib/views/presubmit_view.dart index a838712b3..0c6d869aa 100644 --- a/dashboard/lib/views/presubmit_view.dart +++ b/dashboard/lib/views/presubmit_view.dart @@ -423,10 +423,10 @@ class _LogViewerPaneState extends State<_LogViewerPane> { ), Padding( padding: const EdgeInsets.all(24.0), - child: InkWell( - onTap: selectedCheck.buildNumber == null + child: ElevatedButton( + onPressed: selectedCheck.buildNumber == null ? null - : () => launchUrl( + : () async => await launchUrl( Uri.parse( generateBuildLogUrl( buildName: selectedCheck.buildName,