Browse Source

Show separate icon for unarchive

vishnukvmd 3 năm trước cách đây
mục cha
commit
f5f080e475
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      lib/ui/gallery_app_bar_widget.dart

+ 3 - 1
lib/ui/gallery_app_bar_widget.dart

@@ -254,7 +254,9 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
               child: Row(
                 children: [
                   Icon(Platform.isAndroid
-                      ? Icons.archive_outlined
+                      ? (showArchive
+                          ? Icons.archive_outlined
+                          : Icons.unarchive_outlined)
                       : CupertinoIcons.archivebox),
                   Padding(
                     padding: EdgeInsets.all(8),