Skip to content

Commit

Permalink
[deep link] Only show path check table for android links (flutter#8286)
Browse files Browse the repository at this point in the history
* Update validation_details_view.dart

* lint
  • Loading branch information
hannah-hyj authored Sep 6, 2024
1 parent 4eae64d commit 0b40100
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,11 @@ class _PathCheckTable extends StatelessWidget {

@override
Widget build(BuildContext context) {
final linkData = controller.selectedLink.value!;
if (!linkData.os.contains(PlatformOS.android)) {
return const SizedBox.shrink();
}

final theme = Theme.of(context);
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
Expand Down

0 comments on commit 0b40100

Please sign in to comment.