Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

apply SafeArea on showAdaptiveSheet

This fixes actions being cut off when using button navigation.
This commit is contained in:
Henry Hiles 2026-10-19 21:18:03 -04:00
commit 6659f21ceb
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -19,6 +19,6 @@ extension ShowAdaptiveSheet on BuildContext {
context: this,
isScrollControlled: true,
constraints: .new(maxHeight: MediaQuery.sizeOf(this).height - 80),
builder: builder,
builder: (context) => SafeArea(child: builder(context)),
);
}