Merge branch 'release/0.4.0' of github.com:nohana/NohanaImagePicker into feature/fix-photo-detail-screen
This commit is contained in:
commit
8cc6c445a8
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.3 KiB |
|
|
@ -67,7 +67,7 @@
|
|||
{
|
||||
"size" : "83.5x83.5",
|
||||
"idiom" : "ipad",
|
||||
"filename" : "84.png",
|
||||
"filename" : "167.png",
|
||||
"scale" : "2x"
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -36,12 +36,14 @@ class MomentViewController: AssetListViewController, ActivityIndicatable {
|
|||
guard isFirstAppearance else {
|
||||
return
|
||||
}
|
||||
let lastSection = self.momentAlbumList.count - 1
|
||||
guard lastSection >= 0 else {
|
||||
return
|
||||
dispatch_async(dispatch_get_main_queue()) {
|
||||
let lastSection = self.momentAlbumList.count - 1
|
||||
guard lastSection >= 0 else {
|
||||
return
|
||||
}
|
||||
let indexPath = NSIndexPath(forItem: self.momentAlbumList[lastSection].count - 1, inSection: lastSection)
|
||||
self.scrollCollectionView(to: indexPath)
|
||||
}
|
||||
let indexPath = NSIndexPath(forItem: momentAlbumList[lastSection].count - 1, inSection: lastSection)
|
||||
scrollCollectionView(to: indexPath)
|
||||
isFirstAppearance = false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue