Skip to content

Commit

Permalink
Not awake yet ;p.
Browse files Browse the repository at this point in the history
  • Loading branch information
iAdam1n committed Feb 22, 2018
1 parent 1b6fd40 commit c7df278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@
%end

%ctor {
if (IS_IOS_OR_NEWER(iOS_11_0) {
if (IS_IOS_OR_NEWER(iOS_11_0)) {
%init(iOS11,AppStoreBaseSearch=objc_getClass("AppStore.BaseSearchContainer"));
} else if (IS_IOS_OR_NEWER(iOS_10_0)) {
%init(iOS10);
}
else {
%init(iOS8);
}
}

0 comments on commit c7df278

Please sign in to comment.