Skip to content

Commit

Permalink
Merge branch 'dev/v1.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobcxdev committed Feb 6, 2021
2 parents 53d3777 + 464c33c commit 82c2a92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Preferences/Resources/Root.plist
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@
<string>Follow me on Twitter</string>
<key>username</key>
<string>jcxdev</string>
<key>avatarURL</key>
<string>https://github.com/jacobcxdev.png</string>
<key>shouldDisplayAvatar</key>
<true/>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion layout/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Put the sparkle back in 'i'Message!
Maintainer: JacobCXDev <[email protected]>
Author: JacobCXDev <[email protected]>
Section: Tweaks
Version: 1.1.3
Version: 1.1.4
Tag: cydia::commercial, compatible::ios13
Icon: https://chariz.com/cdn/icon/iris/[email protected]
Depiction: https://repo.chariz.com/package/com.jacobcxdev.iris/
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down
7 changes: 1 addition & 6 deletions src/Objective-C/Tweak/Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@
//

#import "Tweak.h"
#import <dlfcn.h>
#import <LocalAuthentication/LocalAuthentication.h>
#import <libJCX/Utilities.h>
#import "../Globals.h"
#import "../View/IrisAvatarCollectionViewCell.h"
#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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 82c2a92

Please sign in to comment.