remove landscape top-edge gesture barrier causing black bar on iPad

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tommy Chow 2026-03-01 22:28:48 -08:00
parent 09b3b3543b
commit 93c7b5b637

View file

@ -109,19 +109,6 @@ class Chat extends StatelessWidget {
),
),
),
// Prevents accidental chat scrolling when swiping down from the top edge
// to access system UI (Notification Center/Control Center) in landscape mode.
if (context.isLandscape)
Positioned(
top: 0,
left: 0,
right: 0,
height: 24,
child: GestureDetector(
behavior: HitTestBehavior.translucent,
onVerticalDragStart: (_) {},
),
),
Positioned(
left: 0,
right: 0,