Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-native-geek-image-editor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanglu
react-native-geek-image-editor
Commits
f5ef3a6f
Commit
f5ef3a6f
authored
Mar 16, 2020
by
huanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bundle
parent
8fb94292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NSBundle+LFMediaEditing.m
...ontroller/class/common/category/NSBundle+LFMediaEditing.m
+1
-1
YBIBIconManager.m
ios/YBImageBrowser/Helper/YBIBIconManager.m
+1
-1
No files found.
ios/LFMediaEditingController/LFMediaEditingController/class/common/category/NSBundle+LFMediaEditing.m
View file @
f5ef3a6f
...
...
@@ -18,7 +18,7 @@ NSString *const LFMediaEditingStrings = @"LFMediaEditingController";
static
NSBundle
*
lfMediaEditingBundle
=
nil
;
if
(
lfMediaEditingBundle
==
nil
)
{
// 这里不使用mainBundle是为了适配pod 1.x和0.x
lfMediaEditingBundle
=
[
NSBundle
bundleWithPath
:[[
NSBundle
bundleForClass
:[
LFBaseEditingController
class
]]
pathForResource
:
@"LFMediaEditingController"
ofType
:
@"bundle"
]];
lfMediaEditingBundle
=
[
NSBundle
bundleWithPath
:[[
NSBundle
bundleForClass
:[
LFBaseEditingController
class
]]
pathForResource
:
@"LFMediaEditingController
.bundle/LFMediaEditingController
"
ofType
:
@"bundle"
]];
}
return
lfMediaEditingBundle
;
}
...
...
ios/YBImageBrowser/Helper/YBIBIconManager.m
View file @
f5ef3a6f
...
...
@@ -74,7 +74,7 @@ NSBundle *YBIBDefaultBundle(void) {
static
dispatch_once_t
onceToken
;
dispatch_once
(
&
onceToken
,
^
{
NSBundle
*
_bundle
=
[
NSBundle
bundleForClass
:
NSClassFromString
(
@"YBImageBrowser"
)];
NSString
*
path
=
[
_bundle
pathForResource
:
@"YBImageBrowser"
ofType
:
@"bundle"
];
NSString
*
path
=
[
_bundle
pathForResource
:
@"YBImageBrowser
.bundle/YBImageBrowser
"
ofType
:
@"bundle"
];
bundle
=
[
NSBundle
bundleWithPath
:
path
];
});
return
bundle
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment