Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: show toast about video is playing

Prateek Sunal1fa3d873697b
diff --git a/mobile/lib/ui/viewer/file/video_view_widget.dart b/mobile/lib/ui/viewer/file/video_view_widget.dart
index a9dbd0b385..1a37e30086 100644
--- a/mobile/lib/ui/viewer/file/video_view_widget.dart
+++ b/mobile/lib/ui/viewer/file/video_view_widget.dart
@@ -7,6 +7,7 @@ import 'package:chewie/chewie.dart';
import 'package:flutter/cupertino.dart';
import "package:flutter/foundation.dart";
import 'package:flutter/material.dart';
+import "package:fluttertoast/fluttertoast.dart";
import 'package:logging/logging.dart';
import 'package:photos/core/constants.dart';
import "package:photos/core/event_bus.dart";
@@ -93,6 +94,7 @@ class _VideoViewWidgetState extends State<VideoViewWidget> {
}
if (previewFile != null) {
+ Fluttertoast.showToast(msg: "Playing preview video");
return PreviewVideoWidget(
widget.file,
preview: previewFile!,