소스 검색

Add ability to favorite even shared files

Vishnu Mohandas 4 년 전
부모
커밋
7f3602c5cc
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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 [