Setting empty string to the text in the loading overlay
This commit is contained in:
parent
24d456d4b5
commit
0a42ebb032
@ -81,9 +81,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)startLoadingWith:(nullable NSString *) text{
|
- (void)startLoadingWith:(nullable NSString *) text{
|
||||||
if([text length] != 0){
|
if(text != nil){
|
||||||
self.indicatorText.text = text;
|
self.indicatorText.text = text;
|
||||||
self.indicatorText.accessibilityLabel = text;
|
self.indicatorText.accessibilityLabel = text;
|
||||||
|
} else {
|
||||||
|
self.indicatorText.text = @"";
|
||||||
|
self.indicatorText.accessibilityLabel = @"";
|
||||||
}
|
}
|
||||||
[self.activityIndicator resumeSpinner];
|
[self.activityIndicator resumeSpinner];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user