Commit be22f0d2 authored by John McCutchan's avatar John McCutchan Committed by GitHub

Don't show restart help text when running from a prebuilt app (#6269)

parent 322d1041
......@@ -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.');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment