mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-01-11 18:30:20 +00:00
Update build environment to macos-15-intel and Add necessary imports to Settings.xm (#679)
This commit is contained in:
parent
b55ab6d370
commit
19ac69f476
5 changed files with 11 additions and 5 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.gitmodules merge=ours
|
||||
2
.github/workflows/buildapp.yml
vendored
2
.github/workflows/buildapp.yml
vendored
|
|
@ -54,7 +54,7 @@ concurrency:
|
|||
jobs:
|
||||
build:
|
||||
name: Build YTLitePlus
|
||||
runs-on: macos-13
|
||||
runs-on: macos-15-intel
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
|
|
|||
2
.gitmodules
vendored
2
.gitmodules
vendored
|
|
@ -36,7 +36,7 @@
|
|||
url = https://github.com/PoomSmart/YTABConfig
|
||||
[submodule "Tweaks/YTUHD"]
|
||||
path = Tweaks/YTUHD
|
||||
url = https://github.com/aricloverALT/YTUHD
|
||||
url = https://github.com/splaser/YTUHD.git
|
||||
[submodule "Tweaks/YouGroupSettings"]
|
||||
path = Tweaks/YouGroupSettings
|
||||
url = https://github.com/PoomSmart/YouGroupSettings
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <string.h>
|
||||
|
||||
#import "../YTLitePlus.h"
|
||||
#import "../Tweaks/YouTubeHeader/YTSettingsViewController.h"
|
||||
#import "../Tweaks/YouTubeHeader/YTSearchableSettingsViewController.h"
|
||||
|
|
@ -8,6 +12,7 @@
|
|||
#import "SettingsKeys.h"
|
||||
// #import "AppIconOptionsController.h"
|
||||
|
||||
|
||||
// Basic switch item
|
||||
#define BASIC_SWITCH(title, description, key) \
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:title \
|
||||
|
|
@ -247,7 +252,7 @@ static const NSInteger YTLiteSection = 789;
|
|||
// Helper to generate checkmark setting items for selecting gesture modes
|
||||
static YTSettingsSectionItem* (^gestureCheckmarkSettingItem)(NSInteger, NSString *) = ^(NSInteger idx, NSString *key) {
|
||||
return [YTSettingsSectionItemClass
|
||||
checkmarkItemWithTitle:sectionGestureSelectedModeToString(idx)
|
||||
checkmarkItemWithTitle:sectionGestureSelectedModeToString((GestureMode)idx)
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
[[NSUserDefaults standardUserDefaults] setInteger:idx forKey:key];
|
||||
[settingsViewController reloadData];
|
||||
|
|
@ -261,7 +266,7 @@ static const NSInteger YTLiteSection = 789;
|
|||
return [YTSettingsSectionItemClass itemWithTitle:LOC(sectionLabel)
|
||||
accessibilityIdentifier:nil
|
||||
detailTextBlock:^NSString *() {
|
||||
return sectionGestureSelectedModeToString(GetInteger(sectionKey));
|
||||
return sectionGestureSelectedModeToString((GestureMode)GetInteger(sectionKey));
|
||||
}
|
||||
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0f59b38817d554ab692a0053456319847a6ab1a1
|
||||
Subproject commit 4bac4a50a640a6792b41cf053d4df6c94dc8550a
|
||||
Loading…
Reference in a new issue