Video Editing

This commit is contained in:
Ilya Laktyushin
2020-05-23 13:26:53 +03:00
parent 29b23c767f
commit 7741978b7e
131 changed files with 3072 additions and 631 deletions

View File

@@ -152,5 +152,9 @@ UIImage *TGComponentsImageNamed(NSString *name) {
}
NSString *TGComponentsPathForResource(NSString *name, NSString *type) {
return [resourcesBundle() pathForResource:name ofType:type];
NSBundle *bundle = resourcesBundle();
if (bundle == nil) {
bundle = getAppBundle();
}
return [bundle pathForResource:name ofType:type];
}