Skip to content

Commit 42391a9

Browse files
authored
Cleanup the messages for entering a Dart VM Service URL (#8848)
This resolves #2791
1 parent f5dfb29 commit 42391a9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/devtools_app/lib/src/framework/home_screen.dart

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class _ConnectInputState extends State<ConnectInput> with BlockingActionMixin {
203203
height: defaultTextFieldHeight,
204204
width: scaleByFontFactor(350.0),
205205
child: DevToolsClearableTextField(
206-
labelText: 'VM service URL',
206+
labelText: 'URL',
207207
onSubmitted:
208208
actionInProgress ? null : (str) => unawaited(_connect()),
209209
autofocus: true,
@@ -221,7 +221,7 @@ class _ConnectInputState extends State<ConnectInput> with BlockingActionMixin {
221221
Padding(
222222
padding: const EdgeInsets.symmetric(vertical: densePadding),
223223
child: Text(
224-
'(e.g., http://127.0.0.1:12345/auth_code=...)',
224+
'(e.g., http://127.0.0.1:12345/auth_code=... or ws://...)',
225225
textAlign: TextAlign.start,
226226
style: Theme.of(context).textTheme.bodySmall,
227227
),
@@ -236,10 +236,7 @@ class _ConnectInputState extends State<ConnectInput> with BlockingActionMixin {
236236
children: [
237237
Text('Connect to a Running App', style: textTheme.titleMedium),
238238
const SizedBox(height: denseRowSpacing),
239-
Text(
240-
'Enter a URL to a running Dart or Flutter application',
241-
style: textTheme.bodySmall,
242-
),
239+
Text('Enter a Dart VM Service URL', style: textTheme.bodySmall),
243240
const SizedBox(height: denseSpacing),
244241
connectorInput,
245242
],

0 commit comments

Comments
 (0)