Unverified Commit a167610e authored by Tonic Artos's avatar Tonic Artos Committed by GitHub

Remove superfluous GestureDetector. (#60730)

parent ff6b7809
......@@ -1632,12 +1632,7 @@ class _DetailView extends StatelessWidget {
final double screenHeight = MediaQuery.of(context).size.height;
final double minHeight = (screenHeight - kToolbarHeight) / screenHeight;
return GestureDetector(
onTap: () {
print('draggable');
},
behavior: HitTestBehavior.deferToChild,
child: DraggableScrollableSheet(
return DraggableScrollableSheet(
initialChildSize: minHeight,
minChildSize: minHeight,
maxChildSize: 1,
......@@ -1663,7 +1658,6 @@ class _DetailView extends StatelessWidget {
),
);
},
),
);
}
}
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