Cleanup the messages for entering a Dart VM Service URL (#8848)
This resolves https://github.com/flutter/devtools/issues/2791
diff --git a/packages/devtools_app/lib/src/framework/home_screen.dart b/packages/devtools_app/lib/src/framework/home_screen.dart
index fafd796..540cf09 100644
--- a/packages/devtools_app/lib/src/framework/home_screen.dart
+++ b/packages/devtools_app/lib/src/framework/home_screen.dart
@@ -203,7 +203,7 @@
height: defaultTextFieldHeight,
width: scaleByFontFactor(350.0),
child: DevToolsClearableTextField(
- labelText: 'VM service URL',
+ labelText: 'URL',
onSubmitted:
actionInProgress ? null : (str) => unawaited(_connect()),
autofocus: true,
@@ -221,7 +221,7 @@
Padding(
padding: const EdgeInsets.symmetric(vertical: densePadding),
child: Text(
- '(e.g., http://127.0.0.1:12345/auth_code=...)',
+ '(e.g., http://127.0.0.1:12345/auth_code=... or ws://...)',
textAlign: TextAlign.start,
style: Theme.of(context).textTheme.bodySmall,
),
@@ -236,10 +236,7 @@
children: [
Text('Connect to a Running App', style: textTheme.titleMedium),
const SizedBox(height: denseRowSpacing),
- Text(
- 'Enter a URL to a running Dart or Flutter application',
- style: textTheme.bodySmall,
- ),
+ Text('Enter a Dart VM Service URL', style: textTheme.bodySmall),
const SizedBox(height: denseSpacing),
connectorInput,
],