From 14b225f43ebcdc59bfc4b6ae155448095af0ff9f Mon Sep 17 00:00:00 2001 From: JacobCXDev Date: Sat, 6 Feb 2021 11:48:29 +0000 Subject: [PATCH 1/3] Update Root.plist for libJCX v1.1.1 --- Preferences/Resources/Root.plist | 2 ++ layout/DEBIAN/control | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Preferences/Resources/Root.plist b/Preferences/Resources/Root.plist index ac5f081..721704e 100644 --- a/Preferences/Resources/Root.plist +++ b/Preferences/Resources/Root.plist @@ -349,6 +349,8 @@ Follow me on Twitter username jcxdev + avatarURL + https://github.com/jacobcxdev.png shouldDisplayAvatar diff --git a/layout/DEBIAN/control b/layout/DEBIAN/control index e8faeba..11a7d08 100644 --- a/layout/DEBIAN/control +++ b/layout/DEBIAN/control @@ -7,7 +7,7 @@ Description: Put the sparkle back in 'i'Message! Maintainer: JacobCXDev Author: JacobCXDev Section: Tweaks -Version: 1.1.3 +Version: 1.1.4 Tag: cydia::commercial, compatible::ios13 Icon: https://chariz.com/cdn/icon/iris/icon@3x.png Depiction: https://repo.chariz.com/package/com.jacobcxdev.iris/ From 1d2823b46c45c5c40435db46c7f9baa6e207250b Mon Sep 17 00:00:00 2001 From: JacobCXDev Date: Sat, 6 Feb 2021 11:49:17 +0000 Subject: [PATCH 2/3] Update for Alderis v1.1 --- .../Controller/IrisTagCreationAlertCollectionViewController.x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Objective-C/Controller/IrisTagCreationAlertCollectionViewController.x b/src/Objective-C/Controller/IrisTagCreationAlertCollectionViewController.x index d79e9c6..a6ce1b1 100644 --- a/src/Objective-C/Controller/IrisTagCreationAlertCollectionViewController.x +++ b/src/Objective-C/Controller/IrisTagCreationAlertCollectionViewController.x @@ -117,8 +117,9 @@ self.colourPickerWindow.windowLevel = UIWindowLevelAlert + 1000; [self.colourPickerWindow makeKeyAndVisible]; + HBColorPickerConfiguration *configuration = [[HBColorPickerConfiguration alloc] initWithColor:buttonModel.tintColour]; HBColorPickerViewController *colourPicker = [HBColorPickerViewController new]; - colourPicker.color = buttonModel.tintColour; + colourPicker.configuration = configuration; colourPicker.delegate = self; [viewController presentViewController:colourPicker animated:true completion:nil]; } From 464c33c6bc1ceadcd159a7c8cf3a126a43ef7735 Mon Sep 17 00:00:00 2001 From: JacobCXDev Date: Sat, 6 Feb 2021 11:49:39 +0000 Subject: [PATCH 3/3] Fix up imports --- src/Objective-C/Tweak/Tweak.x | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Objective-C/Tweak/Tweak.x b/src/Objective-C/Tweak/Tweak.x index 08dc85a..e5bf12b 100644 --- a/src/Objective-C/Tweak/Tweak.x +++ b/src/Objective-C/Tweak/Tweak.x @@ -7,6 +7,7 @@ // #import "Tweak.h" +#import #import #import #import "../Globals.h" @@ -14,11 +15,6 @@ #import "../View/IrisRoundedBorderLayer.h" #import "../Controller/IrisTagListTableViewController.h" -// MobileSubstrate - -typedef void (*MSHookMemory_t)(void *, const void *, size_t); -static MSHookMemory_t MSHookMemory; - // Static Variables static bool shouldOpenWithDefaults = false; @@ -1230,7 +1226,6 @@ static NSMutableArray *filterConversations(NSArray *conversations, IrisConversat if (isQuickSwitchEnabled) { void *handle = dlopen("/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate", RTLD_NOW); if (handle) { - MSHookMemory = (MSHookMemory_t)(dlsym(handle, "MSHookMemory")); favouritesSectionSym = MSFindSymbol(MSGetImageByName("/System/Library/PrivateFrameworks/ChatKit.framework/ChatKit"), "_CKAppStripFavoritesSection"); recentsSectionSym = MSFindSymbol(MSGetImageByName("/System/Library/PrivateFrameworks/ChatKit.framework/ChatKit"), "_CKAppStripRecentsSection"); const NSInteger favouritesSection = 1;