Skip to content

Commit

Permalink
Fix for iOS 12
Browse files Browse the repository at this point in the history
I assume iOS 11 works since the iOS 10 version of TypeTab
works without any modifications.

Removes the need for the PR #2.
  • Loading branch information
Andrew Hyatt committed Apr 13, 2019
1 parent 651efbb commit 5f1dbe2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions 10.xm → 10-through-12.xm
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@
%end

%ctor {
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0 &&
[[[UIDevice currentDevice] systemVersion] floatValue] < 11.0) {
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) {
%init(10);
}
}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ TARGET = iphone:clang:latest:8.0
PACKAGE_VERSION = $(THEOS_PACKAGE_BASE_VERSION)
THEOS_BUILD_DIR = debs

include theos/makefiles/common.mk
include $(THEOS)/makefiles/common.mk

TWEAK_NAME = TypeTab
TypeTab_FILES = 8.xm 9.xm 10.xm
TypeTab_FILES = 8.xm 9.xm 10-through-12.xm
TypeTab_FRAMEWORKS = Foundation UIKit CoreGraphics
TypeTab_LIBRARIES = substrate
TypeTab_LDFLAGS += -Wl,-segalign,4000
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ml.andrewhyatt.typetab
Name: TypeTab
Depends: mobilesubstrate (>= 0.9.6101), firmware (>= 8.0)
Version: 3.0
Version: 4.0
Architecture: iphoneos-arm
Description: Faster address entry for Safari tabs
Maintainer: Andrew Hyatt <[email protected]>
Expand Down
1 change: 0 additions & 1 deletion theos

This file was deleted.

0 comments on commit 5f1dbe2

Please sign in to comment.