Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Set default crop selection to "Free" in video editor (#7543)

Prateek Sunal29fe3219cc96
diff --git a/mobile/apps/photos/lib/ui/tools/editor/video_crop_page.dart b/mobile/apps/photos/lib/ui/tools/editor/video_crop_page.dart
index 431d6aa5ff..66859eca22 100644
--- a/mobile/apps/photos/lib/ui/tools/editor/video_crop_page.dart
+++ b/mobile/apps/photos/lib/ui/tools/editor/video_crop_page.dart
@@ -32,7 +32,7 @@ class _VideoCropPageState extends State<VideoCropPage> {
void _initializeSelectedValue() {
final currentRatio = widget.controller.preferredCropAspectRatio;
if (currentRatio == null) {
- _selectedCropValue = null;
+ _selectedCropValue = CropValue.free;
return;
}