Skip to content

Commit

Permalink
commit missing changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcon committed Jul 13, 2021
1 parent d48ffc2 commit 84a1e7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MJRefresh.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MJRefresh'
s.version = '3.7.0'
s.version = '3.7.1'
s.summary = 'An easy way to use pull-to-refresh'
s.homepage = 'https://github.com/CoderMJLee/MJRefresh'
s.license = 'MIT'
Expand Down
3 changes: 1 addition & 2 deletions MJRefresh/NSBundle+MJRefresh.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ + (instancetype)mj_refreshBundle
{
static NSBundle *refreshBundle = nil;
if (refreshBundle == nil) {
#ifdef MJ_USEING_SPM
#ifdef MJ_SPM
NSBundle *containnerBundle = SWIFTPM_MODULE_BUNDLE;
#else
NSBundle *containnerBundle = [NSBundle bundleForClass:[MJRefreshComponent class]];
#endif
// 这里不使用mainBundle是为了适配pod 1.x和0.x
refreshBundle = [NSBundle bundleWithPath:[containnerBundle pathForResource:@"MJRefresh" ofType:@"bundle"]];
}
return refreshBundle;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ override func i18nDidChange() {

### <a id="spm_supported"></a>SPM Supported

Released from [`3.7.0`](https://github.com/CoderMJLee/MJRefresh/releases/tag/3.7.0)
Released from [`3.7.1`](https://github.com/CoderMJLee/MJRefresh/releases/tag/3.7.1)

### <a id="swift_chaining_grammar_supported"></a>Swift Chaining Grammar Supported

Expand Down

0 comments on commit 84a1e7e

Please sign in to comment.