Hide phone navigation on run details
Keep pushed run detail and placeholder views consistent with the phone navigation behavior by hiding the shell bar. Add regression coverage and preserve the floating-bar motion test at its intended breakpoint.
This commit is contained in:
@@ -284,6 +284,9 @@ void main() {
|
||||
"bar's entrance", (tester) async {
|
||||
final size = FloatingDestinationBar.buttonSize();
|
||||
animate(tester, on: true);
|
||||
// A window above the list-detail split but below the rail keeps the
|
||||
// floating bar; a phone (under 600 px) shows the Material NavigationBar.
|
||||
tester.view.physicalSize = const Size(640, 900);
|
||||
var destination = AppDestination.runs;
|
||||
final shell = StatefulBuilder(
|
||||
builder: (context, setState) => AdaptiveShell(
|
||||
|
||||
Reference in New Issue
Block a user