fix(app): run detail tabs line up with the header inset
This commit is contained in:
@@ -84,6 +84,9 @@ class _RunDetailTabStripState extends State<RunDetailTabStrip> {
|
||||
);
|
||||
|
||||
Widget _cupertinoControl() => CupertinoSegmentedControl<RunDetailTab>(
|
||||
// The strip already insets 16; the control's own default inset would put
|
||||
// the tabs out of line with the header and body text.
|
||||
padding: EdgeInsets.zero,
|
||||
groupValue: widget.selected,
|
||||
onValueChanged: widget.onSelected,
|
||||
children: {
|
||||
|
||||
Reference in New Issue
Block a user