This repository was archived by the owner on Jan 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
#import " Exts.h"
2
- #include " Classes/ JDESettingsManager.h"
2
+ #include " JDESettingsManager.h"
3
3
#include < Foundation/NSError.h>
4
4
#include < Foundation/Foundation.h>
5
5
#include < UIKit/UIColor.h>
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ - (UIButton*)buttonWithImageNamed:(NSString*)image{
6
6
// init
7
7
UIButton *btn = [UIButton buttonWithType: UIButtonTypeSystem];
8
8
btn.translatesAutoresizingMaskIntoConstraints = NO ;
9
- [btn setImage: [UIImage systemImageNamed: image] forState: UIControlStateNormal]; // @"arrow.down.circle"
9
+ [btn setImage: [UIImage systemImageNamed: image] forState: UIControlStateNormal];
10
10
// colors
11
11
[btn setTintColor: [UIColor whiteColor ]];
12
12
// sizes
Original file line number Diff line number Diff line change 2
2
#include < Foundation/NSString.h>
3
3
#include < Foundation/NSObjCRuntime.h>
4
4
#include < UIKit/UIColor.h>
5
+ #import < rootless.h>
5
6
6
7
#define suiteName " dev.extbh.jodelemproved"
7
8
@@ -20,10 +21,9 @@ - (id) init{
20
21
_bundle = [NSBundle bundleWithPath: bundlePath];
21
22
}
22
23
else {
23
- _bundle = [NSBundle bundleWithPath: @" Library/Application Support/Jodel EMPROVED.bundle" ];
24
+ static NSString * const path = ROOT_PATH_NS (" /Library/Application Support/Jodel EMPROVED.bundle" );
25
+ _bundle = [NSBundle bundleWithPath: path];
24
26
}
25
- // logFile stuff
26
-
27
27
}
28
28
return self;
29
29
}
Original file line number Diff line number Diff line change 1
1
#import " ThemingViewController.h"
2
- #include " Classes/ JDESettingsManager.h"
2
+ #include " JDESettingsManager.h"
3
3
4
4
5
5
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO (v ) ([[[UIDevice currentDevice ] systemVersion ] compare: v options: NSNumericSearch] != NSOrderedAscending) // https://stackoverflow.com/a/5337804
Original file line number Diff line number Diff line change 1
- TARGET := iphone:clang:latest:13.0
1
+ export ARCHS = arm64
2
+ TARGET := iphone:clang:14.5:13.0
2
3
INSTALL_TARGET_PROCESSES = Jodel
3
4
4
5
Original file line number Diff line number Diff line change 14
14
@try {
15
15
JELog (@" Adding setting button" );
16
16
MainFeedViewController *usableSelf = self;
17
- UIBarButtonItem *statsButton = [[UIBarButtonItem alloc ] initWithTitle: [[JDESettingsManager sharedInstance ] localizedStringForKey: @" emproved" ]
17
+ UIBarButtonItem *statsButton = [[UIBarButtonItem alloc ] initWithTitle: [[JDESettingsManager sharedInstance ] localizedStringForKey: @" emproved" ]
18
18
style: UIBarButtonItemStyleDone target: self
19
19
action: @selector (presentJDEViewController: )];
20
20
You can’t perform that action at this time.
0 commit comments