mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Don't show restart help text when running from a prebuilt app (#6269)
This commit is contained in:
parent
322d1041a8
commit
be22f0d2b2
@ -261,7 +261,8 @@ class RunAndStayResident extends ResidentRunner {
|
||||
|
||||
@override
|
||||
void printHelp() {
|
||||
String restartText = device.supportsRestart ? ', "r" or F5 to restart the app,' : '';
|
||||
final bool showRestartText = !prebuiltMode && device.supportsRestart;
|
||||
String restartText = showRestartText ? ', "r" or F5 to restart the app,' : '';
|
||||
printStatus('Type "h" or F1 for help$restartText and "q", F10, or ctrl-c to quit.');
|
||||
printStatus('Type "w" to print the widget hierarchy of the app, and "t" for the render tree.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user