mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Video Editing
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user