Merge branch 'main' into fix/uYou-suggested-video-option

This commit is contained in:
Bryce Hackel 2024-04-10 16:43:52 -07:00
commit 51e0d20c61
No known key found for this signature in database
GPG key ID: F031960F08455E88
2 changed files with 12 additions and 12 deletions

View file

@ -280,17 +280,17 @@
- My official AltStore repo: https://therealfoxster.github.io/altsource-viewer/view/?source=https://raw.githubusercontent.com/arichornlover/arichornlover.github.io/main/apps.json
- [Open in AltStore (v19.10.7-3.0.3)](https://tinyurl.com/2s4zrj2h) - It will take a while to install because AltStore needs to download the IPA first.
- [Open in AltStore (v19.14.2-3.0.3)](https://tinyurl.com/2mc82ksf) - It will take a while to install because AltStore needs to download the IPA first.
<details>
<summary>Version information (last updated: Apr 4, 2024)</summary>
<summary>Version information (last updated: Apr 10, 2024)</summary>
| **Tweaks/App** | **Developer** | **Version** | **Open source** |
| - | - | :-: | :-: |
| **YouTube** | Google Inc | 19.13.1 | ✖︎ |
| **YouTube** | Google Inc | 19.14.2 | ✖︎ |
| [uYou](https://github.com/MiRO92/uYou-for-YouTube) | [MiRO92](https://twitter.com/miro92) | 3.0.3 | ✖︎ |
| **Open in YouTube** | [CokePokes](https://github.com/CokePokes) | 1.2 | [✔︎](https://github.com/CokePokes/YoutubeExtensions) |
| **iSponsorBlock** | [Galactic-Dev](https://github.com/Galactic-Dev) | 1.2.2 | [✔︎](https://github.com/Galactic-Dev/iSponsorBlock) |
| **iSponsorBlock** | [Galactic-Dev](https://github.com/Galactic-Dev) | 1.2.4 | [✔︎](https://github.com/Galactic-Dev/iSponsorBlock) |
| **BigYTMiniPlayer** | [Galactic-Dev](https://github.com/Galactic-Dev) | 1.0-1 | [✔︎](https://github.com/Galactic-Dev/BigYTMiniPlayer) |
| **YTNoHoverCards** | [level3tjg](https://twitter.com/level3tjg) | 0.0.3 | [✔︎](https://github.com/level3tjg/YTNoHoverCards) |
| **YTMiniplayerEnabler** | [level3tjg](https://twitter.com/level3tjg) | 0.0.2 | [✔︎](https://github.com/level3tjg/YTMiniplayerEnabler) |

View file

@ -554,21 +554,21 @@ BOOL isAd(YTIElementRenderer *self) {
%group hideFullscreenActions
%hook YTMainAppVideoPlayerOverlayViewController
- (BOOL)isFullscreenActionsEnabled {
// This didn't work on its own - weird
return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig;
return NO;
}
%end
%hook YTFullscreenActionsView
- (BOOL)enabled {
// Attempt 2
return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig;
return NO;
}
- (void)removeFromSuperview {
// Attempt 3
if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
- (void)layoutSubviews {
// Check if already removed from superview
if (self.superview) {
[self removeFromSuperview];
}
%orig;
self.hidden = YES;
self.frame = CGRectZero;
%orig;
}
%end
%end