Merge pull request #4936 from pangeachat/4931-practice-mode-overlap-message-overlay-in-mobile-audio-practice-mode

fix: when not in column mode, don't add padding to top of practice to…
This commit is contained in:
ggurdin 2025-12-22 14:12:37 -05:00 committed by GitHub
commit e91d7fc4cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -434,11 +434,13 @@ class MessageSelectionPositionerState extends State<MessageSelectionPositioner>
),
),
Positioned(
top: switch (MediaQuery.heightOf(context)) {
< 700 => 0,
> 900 => 160,
_ => 80,
},
top: FluffyThemes.isColumnMode(context)
? switch (MediaQuery.heightOf(context)) {
< 700 => 0,
> 900 => 160,
_ => 80,
}
: 0,
left: 0,
right: 0,
child: ListenableBuilder(