mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 15:08:18 -07:00
use smart by default
This commit is contained in:
parent
75747f26f3
commit
03aab3f927
4 changed files with 7 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ class VideoPlayerSettingsModel with _$VideoPlayerSettingsModel {
|
|||
@Default(false) bool useLibass,
|
||||
@Default(100) double internalVolume,
|
||||
Set<DeviceOrientation>? allowedOrientations,
|
||||
@Default(AutoNextType.static) AutoNextType nextVideoType,
|
||||
@Default(AutoNextType.smart) AutoNextType nextVideoType,
|
||||
String? audioDevice,
|
||||
}) = _VideoPlayerSettingsModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ class _$VideoPlayerSettingsModelImpl extends _VideoPlayerSettingsModel
|
|||
this.useLibass = false,
|
||||
this.internalVolume = 100,
|
||||
final Set<DeviceOrientation>? allowedOrientations,
|
||||
this.nextVideoType = AutoNextType.static,
|
||||
this.nextVideoType = AutoNextType.smart,
|
||||
this.audioDevice})
|
||||
: _allowedOrientations = allowedOrientations,
|
||||
super._();
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ _$VideoPlayerSettingsModelImpl _$$VideoPlayerSettingsModelImplFromJson(
|
|||
.toSet(),
|
||||
nextVideoType:
|
||||
$enumDecodeNullable(_$AutoNextTypeEnumMap, json['nextVideoType']) ??
|
||||
AutoNextType.static,
|
||||
AutoNextType.smart,
|
||||
audioDevice: json['audioDevice'] as String?,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue