Tweak video settings
This commit is contained in:
parent
7fe5764dd3
commit
1825a54f02
1 changed files with 7 additions and 7 deletions
|
|
@ -25,22 +25,22 @@ class VideoSettings extends StatelessWidget {
|
|||
),
|
||||
SwitchListTile.adaptive(
|
||||
isThreeLine: true,
|
||||
title: const Text('Use custom stream overlay'),
|
||||
subtitle: const Text('Replaces the default stream overlay with a mobile-friendly version.'),
|
||||
title: const Text('Use custom video overlay'),
|
||||
subtitle: const Text('Replaces the default video overlay with a mobile-friendly version.'),
|
||||
value: settingsStore.showOverlay,
|
||||
onChanged: settingsStore.showVideo ? (newValue) => settingsStore.showOverlay = newValue : null,
|
||||
),
|
||||
SwitchListTile.adaptive(
|
||||
title: const Text('Long-press player to toggle overlay'),
|
||||
value: settingsStore.toggleableOverlay,
|
||||
onChanged: settingsStore.showVideo && settingsStore.showOverlay ? (newValue) => settingsStore.toggleableOverlay = newValue : null,
|
||||
),
|
||||
if (Platform.isIOS)
|
||||
SwitchListTile.adaptive(
|
||||
title: const Text('Picture-in-picture button'),
|
||||
value: settingsStore.pictureInPicture,
|
||||
onChanged: settingsStore.showVideo && settingsStore.showOverlay ? (newValue) => settingsStore.pictureInPicture = newValue : null,
|
||||
),
|
||||
SwitchListTile.adaptive(
|
||||
title: const Text('Long-press player to toggle overlay'),
|
||||
value: settingsStore.toggleableOverlay,
|
||||
onChanged: settingsStore.showVideo ? (newValue) => settingsStore.toggleableOverlay = newValue : null,
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue