mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-15 02:05:58 -07:00
fix: Small fix for videoplayer logo
This commit is contained in:
parent
0f6d24dc5a
commit
e3feae75de
2 changed files with 20 additions and 14 deletions
|
|
@ -262,17 +262,24 @@ class _DesktopControlsState extends ConsumerState<DesktopControls> {
|
|||
),
|
||||
),
|
||||
if (currentItem != null)
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: 150.clamp(50, MediaQuery.sizeOf(context).height * 0.25).toDouble(),
|
||||
),
|
||||
child: ItemLogo(
|
||||
item: currentItem,
|
||||
imageAlignment: Alignment.topLeft,
|
||||
textStyle: Theme.of(context).textTheme.headlineLarge,
|
||||
Expanded(
|
||||
child: Row(
|
||||
children: [
|
||||
Flexible(
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: 150.clamp(50, MediaQuery.sizeOf(context).height * 0.25).toDouble(),
|
||||
),
|
||||
child: ItemLogo(
|
||||
item: currentItem,
|
||||
imageAlignment: Alignment.topLeft,
|
||||
textStyle: Theme.of(context).textTheme.headlineLarge,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
if (AdaptiveLayout.of(context).inputDevice == InputDevice.touch)
|
||||
Align(
|
||||
alignment: Alignment.centerRight,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue