瀏覽代碼

Set the initial state of the pull-down widget to `refreshing`

Vishnu Mohandas 5 年之前
父節點
當前提交
b42bbbe0b4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/ui/gallery.dart

+ 1 - 1
lib/ui/gallery.dart

@@ -34,7 +34,7 @@ class _GalleryState extends State<Gallery> {
   Set<Photo> _selectedPhotos = HashSet<Photo>();
   List<Photo> _photos;
   RefreshController _refreshController =
-      RefreshController(initialRefresh: false);
+      RefreshController(initialRefresh: true);
   StreamSubscription<PhotoOpenedEvent> _subscription;
   Photo _openedPhoto;