[mob] Allow fav for shared items
This commit is contained in:
parent
a39e6b54cc
commit
ab33bc34a1
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:media_extension/media_extension.dart';
|
||||
|
@ -134,9 +133,7 @@ class FileAppBarState extends State<FileAppBar> {
|
|||
);
|
||||
}
|
||||
// only show fav option for files owned by the user
|
||||
if ((isOwnedByUser || flagService.internalUser) &&
|
||||
!isFileHidden &&
|
||||
isFileUploaded) {
|
||||
if (!isFileHidden && isFileUploaded) {
|
||||
_actions.add(FavoriteWidget(widget.file));
|
||||
}
|
||||
if (!isFileUploaded) {
|
||||
|
|
Loading…
Add table
Reference in a new issue