Video Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-05-19 16:52:43 +04:00
parent 981367c33c
commit 877d7459bf
19 changed files with 1503 additions and 522 deletions

View File

@@ -146,7 +146,6 @@
{
_context = context;
_actionHandle = [[ASHandle alloc] initWithDelegate:self releaseOnMainThread:true];
_standaloneEditingContext = [[TGMediaEditingContext alloc] init];
self.automaticallyManageScrollViewInsets = false;
self.autoManageStatusBarBackground = false;
@@ -2182,10 +2181,14 @@
- (TGMediaEditingContext *)editingContext
{
if (_editingContext)
if (_editingContext) {
return _editingContext;
else
} else {
if (_standaloneEditingContext == nil) {
_standaloneEditingContext = [[TGMediaEditingContext alloc] init];
}
return _standaloneEditingContext;
}
}
- (void)doneButtonLongPressed:(UIButton *)sender