Browse Source

Add ability to favorite even shared files

Vishnu Mohandas 4 years ago
parent
commit
7f3602c5cc
1 changed files with 1 additions and 3 deletions
  1. 1 3
      lib/ui/detail_page.dart

+ 1 - 3
lib/ui/detail_page.dart

@@ -115,9 +115,7 @@ class _DetailPageState extends State<DetailPage> {
 
   AppBar _buildAppBar() {
     final actions = List<Widget>();
-    if (_files[_selectedIndex].localID != null) {
-      actions.add(_getFavoriteButton());
-    }
+    actions.add(_getFavoriteButton());
     actions.add(PopupMenuButton(
       itemBuilder: (context) {
         return [