Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-07-26 03:55:08 +03:00
parent e4f09f39fd
commit df7a68ea73
7 changed files with 131 additions and 11 deletions

View File

@@ -66,12 +66,20 @@
[self reset];
_recordingTimer = [TGTimerTarget scheduledMainThreadTimerWithTarget:self action:@selector(recordingTimerEvent) interval:1.0 repeat:false];
[UIView animateWithDuration:0.2 animations:^{
_backgroundView.alpha = 1.0;
}];
}
- (void)stopRecording
{
[_recordingTimer invalidate];
_recordingTimer = nil;
[UIView animateWithDuration:0.2 animations:^{
_backgroundView.alpha = 0.0;
}];
}
- (void)reset