Просмотр исходного кода

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

Vishnu Mohandas 5 лет назад
Родитель
Сommit
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;