Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

DanTup
Copy link
Contributor

@DanTup DanTup commented Sep 8, 2025

In the list of devices we include devices that are not supported/enabled for the current platform, allowing you to enable them. However, the logic here would skip the entire device table if there are no enabled/supported devices, which would cause nothing to show up if there are none already enabled.

This changes the logic so the table is always shown if there are either kind of device, and only shows the help text if none are enabled.

Fixes Dart-Code/Dart-Code#5661

Before:

Screenshot 2025-09-08 152214

After:

Screenshot 2025-09-08 152112

…devices

In the list of devices we include devices that are not supported/enabled for the current platform, allowing you to enable them. However, the logic here would skip the entire device table if there are no enabled/supported devices, which would cause nothing to show up if there are none already enabled.

This changes the logic so the table is always shown if there are either kind of device, and only shows the help text if none are enabled.

Fixes Dart-Code/Dart-Code#5661
@DanTup DanTup requested a review from a team as a code owner September 8, 2025 14:25
@DanTup DanTup requested review from kenzieschmoll and removed request for a team September 8, 2025 14:25
@DanTup DanTup requested a review from elliette September 8, 2025 14:26
Copy link
Member

@elliette elliette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DanTup DanTup added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 15, 2025
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 15, 2025
Copy link

auto-submit bot commented Sep 15, 2025

autosubmit label was removed for flutter/devtools/9428, because The base commit of the PR is older than 7 days and can not be merged. Please merge the latest changes from the main into this branch and resubmit the PR.

Copy link

auto-submit bot commented Sep 15, 2025

autosubmit label was removed for flutter/devtools/9428, because - The status or check suite Verify PR Release Note Requirements has failed. Please fix the issues identified (or deflake) before re-applying this label.

@DanTup DanTup merged commit c330f62 into flutter:master Sep 15, 2025
36 of 37 checks passed
@DanTup DanTup deleted the fix-platform-enablers branch September 15, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to enable new device/platforms from the Flutter sidebar
2 participants