Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PODS:
- local_auth_darwin (0.0.1):
- Flutter
- FlutterMacOS
- mdk (0.35.0)
- mdk (0.35.1)
- media_kit_libs_ios_video (1.0.4):
- Flutter
- media_kit_video (0.0.1):
Expand All @@ -77,9 +77,9 @@ PODS:
- Flutter
- screen_brightness_ios (0.1.0):
- Flutter
- SDWebImage (5.21.3):
- SDWebImage/Core (= 5.21.3)
- SDWebImage/Core (5.21.3)
- SDWebImage (5.21.7):
- SDWebImage/Core (= 5.21.7)
- SDWebImage/Core (5.21.7)
- share_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
Expand Down Expand Up @@ -119,6 +119,8 @@ PODS:
- video_player_avfoundation (0.0.1):
- Flutter
- FlutterMacOS
- volume_controller (0.0.1):
- Flutter
- wakelock_plus (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
Expand Down Expand Up @@ -154,6 +156,7 @@ DEPENDENCIES:
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`)
- volume_controller (from `.symlinks/plugins/volume_controller/ios`)
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
- workmanager_apple (from `.symlinks/plugins/workmanager_apple/ios`)
Expand Down Expand Up @@ -220,6 +223,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"
video_player_avfoundation:
:path: ".symlinks/plugins/video_player_avfoundation/darwin"
volume_controller:
:path: ".symlinks/plugins/volume_controller/ios"
wakelock_plus:
:path: ".symlinks/plugins/wakelock_plus/ios"
webview_flutter_wkwebview:
Expand All @@ -243,15 +248,15 @@ SPEC CHECKSUMS:
fvp: f4fdb89279e863eb09869bde7ba7fce9e81a16ab
just_audio: a42c63806f16995daf5b219ae1d679deb76e6a79
local_auth_darwin: 63c73d6d28cc3e239be2b6aa460ea6e317cd5100
mdk: baa616b93f696c7066df0e5ebe057badfa9c462b
mdk: 59bbe9e2ac2a052455ab1b076c245680d66cf6c0
media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1
media_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
path_provider_foundation: 0b743cbb62d8e47eab856f09262bb8c1ddcfe6ba
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
pointer_interceptor_ios: a78ffe95ad3c6cd52c42ad362c116d92355c3d42
screen_brightness_ios: 6a6f7794b67f07c4f1e24f6374b2d8ad367ffb39
SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a
SDWebImage: e9fc87c1aab89a8ab1bbd74eba378c6f53be8abf
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
shared_preferences_foundation: 5086985c1d43c5ba4d5e69a4e8083a389e2909e6
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
Expand All @@ -260,6 +265,7 @@ SPEC CHECKSUMS:
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
url_launcher_ios: bb13df5870e8c4234ca12609d04010a21be43dfa
video_player_avfoundation: 7993f492ae0bd77edaea24d9dc051d8bb2cd7c86
volume_controller: 2e3de73d6e7e81a0067310d17fb70f2f86d71ac7
wakelock_plus: 76957ab028e12bfa4e66813c99e46637f367fc7e
webview_flutter_wkwebview: 29eb20d43355b48fe7d07113835b9128f84e3af4
workmanager_apple: 7bac258335c310689a641e2d66e88d4845d372e9
Expand Down
14 changes: 14 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@
},
"controls": "Controls",
"@controls": {},
"gestures": "Gestures",
"@gestures": {},
"dashboard": "Dashboard",
"@dashboard": {},
"dashboardContinue": "Continue",
Expand Down Expand Up @@ -1264,6 +1266,10 @@
"subtitleConfiguration": "Subtitle configuration",
"off": "Off",
"screenBrightness": "Screen brightness",
"enableEdgeGesturesTitle": "Enable edge gestures",
"enableEdgeGesturesDesc": "Control brightness and volume by sliding up and down on the edges of the screen",
"reverseEdgeGesturesTitle": "Swap edge gestures",
"reverseEdgeGesturesDesc": "Swap the side for brightness and volume control",
"scale": "Scale",
"playBackSettings": "Playback Settings",
"settingsAutoNextTitle": "Next-up preview",
Expand Down Expand Up @@ -1523,6 +1529,14 @@
}
}
},
"brightnessIndicator": "Brightness: {brightness}",
"@brightnessIndicator": {
"placeholders": {
"brightness": {
"type": "int"
}
}
},
"speedIndicator": "Playback rate: {speed}",
"@speedIndicator": {
"placeholders": {
Expand Down
7 changes: 3 additions & 4 deletions lib/models/settings/video_player_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@ abstract class VideoPlayerSettingsModel with _$VideoPlayerSettingsModel {
@Default(2.0) double speedBoostRate,
@Default(true) bool enableDoubleTapSeek,
@Default(false) bool enableAdvancedVideoOptions,
@Default(true) bool enableEdgeGestures,
@Default(false) bool reverseEdgeGestures,
}) = _VideoPlayerSettingsModel;

double get volume => switch (defaultTargetPlatform) {
TargetPlatform.android || TargetPlatform.iOS => 100,
_ => internalVolume,
};
double get volume => internalVolume;

factory VideoPlayerSettingsModel.fromJson(Map<String, dynamic> json) => _$VideoPlayerSettingsModelFromJson(json);

Expand Down
76 changes: 63 additions & 13 deletions lib/models/settings/video_player_settings.freezed.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/models/settings/video_player_settings.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading