diff --git a/MusaicFM/MusaicFMView.m b/MusaicFM/MusaicFMView.m index 8630246..e00a93b 100644 --- a/MusaicFM/MusaicFMView.m +++ b/MusaicFM/MusaicFMView.m @@ -82,6 +82,10 @@ - (void)commonInit { - (void)loadData { __weak typeof(self) weakSelf = self; void (^ done)(NSArray *artworks) = ^void (NSArray *new) { + if (new.count == 0) { + return; + } + NSInteger maximalCount = [weakSelf maximalCount]; NSMutableArray *artworks = [NSMutableArray arrayWithCapacity:maximalCount]; while (artworks.count < maximalCount)