Skip to content

Commit b91e5b9

Browse files
authored
[CQ] migrate off deprecated Messages.OK_BUTTON (#8129)
Move off deprecated `Messages` constant. See: https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/ui/Messages.java `Messages.getOkButton()` is the future. --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide]([https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
1 parent 906a493 commit b91e5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter-idea/src/io/flutter/run/LaunchState.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ protected void showNoDeviceConnectedMessage(Project project) {
208208
project,
209209
"No connected devices found; please connect a device, or see flutter.dev/setup for getting started instructions.",
210210
"No Connected Devices Found",
211-
new String[]{Messages.OK_BUTTON}, 0, AllIcons.General.InformationDialog);
211+
new String[]{Messages.getOkButton()}, 0, AllIcons.General.InformationDialog);
212212
}
213213

214214
@NotNull

0 commit comments

Comments
 (0)