Skip to content

Commit 6cae208

Browse files
Update version string
1 parent 9236511 commit 6cae208

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#import <YTHeaders/YTSettingsViewController.h>
66

77
#define DEMC @"DontEatMyContent"
8-
#define VERSION [NSString stringWithFormat:@"v%@", @(OS_STRINGIFY(TWEAK_VERSION))]
8+
#define DEMC_VERSION [NSString stringWithFormat:@"%@", @(OS_STRINGIFY(TWEAK_VERSION))]
99
#define LOCALIZED_STRING(s) [bundle localizedStringForKey:s value:nil table:nil]
1010

1111
extern void DEMC_showSnackBar(NSString *text);

Settings.x

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static const NSInteger sectionId = 517; // DontEatMyContent's section ID (just a
129129
accessibilityIdentifier:nil
130130
detailTextBlock:nil
131131
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger sectionItemIndex) {
132-
NSString *url = [NSString stringWithFormat:@"https://github.com/therealFoxster/DontEatMyContent/issues/new/?title=[v%@] %@", VERSION, LOCALIZED_STRING(@"ADD_TITLE")];
132+
NSString *url = [NSString stringWithFormat:@"https://github.com/therealFoxster/DontEatMyContent/issues/new/?title=[v%@] %@", DEMC_VERSION, LOCALIZED_STRING(@"ADD_TITLE")];
133133
return [%c(YTUIUtils) openURL:[NSURL URLWithString:url]];
134134
}
135135
]];
@@ -140,7 +140,7 @@ static const NSInteger sectionId = 517; // DontEatMyContent's section ID (just a
140140
titleDescription:nil
141141
accessibilityIdentifier:nil
142142
detailTextBlock:^NSString *() {
143-
return VERSION;
143+
return [NSString stringWithFormat:@"v%@", DEMC_VERSION];
144144
}
145145
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger sectionItemIndex) {
146146
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/therealFoxster/DontEatMyContent/releases/"]];

control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: me.foxster.donteatmycontent
22
Name: DontEatMyContent
3-
Version: 1.1.7
3+
Version: 1.1.8
44
Architecture: iphoneos-arm
55
Description: Prevent the notch/Dynamic Island from munching on 2:1 video content in YouTube
66
Maintainer: Foxster

0 commit comments

Comments
 (0)