File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,32 +140,29 @@ + (void)showWithStatus: (NSString *)string maskType: (WSProgressHUDMaskType)mask
140140
141141+ (void )showSuccessWithStatus : (NSString *)string
142142{
143- [[self shareInstance ] addOverlayViewToWindow ];
144143 [self showImage: WSProgressHUDSuccessImage status: string];
145144}
146145
147146+ (void )showErrorWithStatus : (NSString *)string
148147{
149- [[self shareInstance ] addOverlayViewToWindow ];
150148 [self showImage: WSProgressHUDErrorImage status: string];
151149}
152150
153151
154152+ (void )showImage : (UIImage *)image status : (NSString *)title
155153{
156- [[self shareInstance ] addOverlayViewToWindow ];
157154 [self showImage: image status: title maskType: WSProgressHUDMaskTypeDefault];
158155}
159156
160157+ (void )showImage : (UIImage *)image status : (NSString *)title maskType : (WSProgressHUDMaskType)maskType
161158{
162- [[self shareInstance ] addOverlayViewToWindow ];
163159 [self showImage: image status: title maskType: maskType maskWithout: WSProgressHUDMaskWithoutDefault];
164160}
165161
166162
167163+ (void )showImage : (UIImage *)image status : (NSString *)title maskType : (WSProgressHUDMaskType)maskType maskWithout : (WSProgressHUDMaskWithoutType)withoutType
168164{
165+ [[self shareInstance ] addOverlayViewToWindow ];
169166 [[self shareInstance ] showImage: image status: title maskType: maskType maskWithout: withoutType];
170167}
171168
You can’t perform that action at this time.
0 commit comments