Skip to content

Commit 4bc945e

Browse files
committed
Merge pull request #47 from mohamedadly/master
- fix progressHUD to return top most HUD
2 parents ccfc79f + 9b718a6 commit 4bc945e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/HUD/M13ProgressHUD.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ - (M13ProgressHUD *)progressHUD
789789
{
790790
for (id view in self.subviews) {
791791
//If the subview is a progress HUD return it.
792-
if ([[view class] isSubclassOfClass:[M13ProgressView class]]) {
792+
if ([[view class] isSubclassOfClass:[M13ProgressHUD class]]) {
793793
return view;
794794
}
795795
}

0 commit comments

Comments
 (0)