mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Let the spinner spin until video appears
This commit is contained in:
@@ -75,9 +75,9 @@
|
|||||||
- (void) connectionStarted {
|
- (void) connectionStarted {
|
||||||
Log(LOG_I, @"Connection started");
|
Log(LOG_I, @"Connection started");
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[self.spinner stopAnimating];
|
// Leave the spinner spinning until it's obscured by
|
||||||
[self.stageLabel setText:@"Waiting for first frame..."];
|
// the first frame of video.
|
||||||
[self.stageLabel sizeToFit];
|
self.stageLabel.hidden = YES;
|
||||||
[(StreamView*)self.view setupOnScreenControls: self->_controllerSupport swipeDelegate:self];
|
[(StreamView*)self.view setupOnScreenControls: self->_controllerSupport swipeDelegate:self];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user