mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Enable video editor for internal users
This commit is contained in:
parent
24ea4374cf
commit
bf36f415db
@ -8,6 +8,7 @@ import 'package:photos/models/file/file.dart';
|
||||
import 'package:photos/models/file/file_type.dart';
|
||||
import 'package:photos/models/file/trash_file.dart';
|
||||
import 'package:photos/models/selected_files.dart';
|
||||
import "package:photos/service_locator.dart";
|
||||
import "package:photos/theme/colors.dart";
|
||||
import "package:photos/theme/ente_theme.dart";
|
||||
import "package:photos/ui/actions/file/file_actions.dart";
|
||||
@ -86,7 +87,8 @@ class FileBottomBarState extends State<FileBottomBar> {
|
||||
if (!widget.showOnlyInfoButton && widget.file is! TrashFile) {
|
||||
if (widget.file.fileType == FileType.image ||
|
||||
widget.file.fileType == FileType.livePhoto ||
|
||||
widget.file.fileType == FileType.video) {
|
||||
(flagService.internalUser &&
|
||||
widget.file.fileType == FileType.video)) {
|
||||
children.add(
|
||||
Tooltip(
|
||||
message: "Edit",
|
||||
|
Loading…
x
Reference in New Issue
Block a user