mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
d1d29e3fe3
commit
e68f472e07
1 changed files with 1 additions and 9 deletions
|
|
@ -70,7 +70,7 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (findCell((ASNodeController *)child, identifiers)) {
|
if (findCell((ASNodeController *)child, identifiers)) { // Cast to ASNodeController
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -85,14 +85,6 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
|
||||||
ASCellNode *node = [element node];
|
ASCellNode *node = [element node];
|
||||||
ASNodeController *nodeController = [node controller];
|
ASNodeController *nodeController = [node controller];
|
||||||
|
|
||||||
NSArray *identifiers = @[
|
|
||||||
@"id.video.share.button",
|
|
||||||
@"id.video.remix.button",
|
|
||||||
@"Thanks",
|
|
||||||
@"clip_button.eml",
|
|
||||||
@"id.ui.add_to.offline.button"
|
|
||||||
];
|
|
||||||
|
|
||||||
if (IS_ENABLED(@"hideShareButton_enabled") && findCell(nodeController, @[@"id.video.share.button"])) {
|
if (IS_ENABLED(@"hideShareButton_enabled") && findCell(nodeController, @[@"id.video.share.button"])) {
|
||||||
return CGSizeZero;
|
return CGSizeZero;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue