mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
use smart by default
This commit is contained in:
parent
75747f26f3
commit
03aab3f927
4 changed files with 7 additions and 5 deletions
|
|
@ -21,7 +21,8 @@ LibraryFiltersModel _$LibraryFiltersModelFromJson(Map<String, dynamic> json) {
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$LibraryFiltersModel {
|
mixin _$LibraryFiltersModel {
|
||||||
String get id => throw _privateConstructorUsedError;
|
String get id => throw _privateConstructorUsedError;
|
||||||
String get name => throw _privateConstructorUsedError;
|
String get name =>
|
||||||
|
throw _privateConstructorUsedError; // ignore: unused_element
|
||||||
dynamic get isFavourite => throw _privateConstructorUsedError;
|
dynamic get isFavourite => throw _privateConstructorUsedError;
|
||||||
List<String> get ids => throw _privateConstructorUsedError;
|
List<String> get ids => throw _privateConstructorUsedError;
|
||||||
Map<String, bool> get genres => throw _privateConstructorUsedError;
|
Map<String, bool> get genres => throw _privateConstructorUsedError;
|
||||||
|
|
@ -348,6 +349,7 @@ class _$LibraryFiltersModelImpl extends _LibraryFiltersModel {
|
||||||
final String id;
|
final String id;
|
||||||
@override
|
@override
|
||||||
final String name;
|
final String name;
|
||||||
|
// ignore: unused_element
|
||||||
@override
|
@override
|
||||||
@JsonKey()
|
@JsonKey()
|
||||||
final dynamic isFavourite;
|
final dynamic isFavourite;
|
||||||
|
|
@ -531,7 +533,7 @@ abstract class _LibraryFiltersModel extends LibraryFiltersModel {
|
||||||
@override
|
@override
|
||||||
String get id;
|
String get id;
|
||||||
@override
|
@override
|
||||||
String get name;
|
String get name; // ignore: unused_element
|
||||||
@override
|
@override
|
||||||
dynamic get isFavourite;
|
dynamic get isFavourite;
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ class VideoPlayerSettingsModel with _$VideoPlayerSettingsModel {
|
||||||
@Default(false) bool useLibass,
|
@Default(false) bool useLibass,
|
||||||
@Default(100) double internalVolume,
|
@Default(100) double internalVolume,
|
||||||
Set<DeviceOrientation>? allowedOrientations,
|
Set<DeviceOrientation>? allowedOrientations,
|
||||||
@Default(AutoNextType.static) AutoNextType nextVideoType,
|
@Default(AutoNextType.smart) AutoNextType nextVideoType,
|
||||||
String? audioDevice,
|
String? audioDevice,
|
||||||
}) = _VideoPlayerSettingsModel;
|
}) = _VideoPlayerSettingsModel;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -226,7 +226,7 @@ class _$VideoPlayerSettingsModelImpl extends _VideoPlayerSettingsModel
|
||||||
this.useLibass = false,
|
this.useLibass = false,
|
||||||
this.internalVolume = 100,
|
this.internalVolume = 100,
|
||||||
final Set<DeviceOrientation>? allowedOrientations,
|
final Set<DeviceOrientation>? allowedOrientations,
|
||||||
this.nextVideoType = AutoNextType.static,
|
this.nextVideoType = AutoNextType.smart,
|
||||||
this.audioDevice})
|
this.audioDevice})
|
||||||
: _allowedOrientations = allowedOrientations,
|
: _allowedOrientations = allowedOrientations,
|
||||||
super._();
|
super._();
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ _$VideoPlayerSettingsModelImpl _$$VideoPlayerSettingsModelImplFromJson(
|
||||||
.toSet(),
|
.toSet(),
|
||||||
nextVideoType:
|
nextVideoType:
|
||||||
$enumDecodeNullable(_$AutoNextTypeEnumMap, json['nextVideoType']) ??
|
$enumDecodeNullable(_$AutoNextTypeEnumMap, json['nextVideoType']) ??
|
||||||
AutoNextType.static,
|
AutoNextType.smart,
|
||||||
audioDevice: json['audioDevice'] as String?,
|
audioDevice: json['audioDevice'] as String?,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue