mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Update YTPivotBarReorder.m
This commit is contained in:
parent
188c398ccb
commit
f794f4f5c0
1 changed files with 2 additions and 4 deletions
|
|
@ -53,7 +53,7 @@
|
|||
YTIPivotBarRenderer *pivotBarRenderer = [guideRenderers pivotBarRenderer];
|
||||
for (YTIPivotBarSupportedRenderers *renderer in [pivotBarRenderer itemsArray]) {
|
||||
YTIPivotBarItemRenderer *itemRenderer = [renderer pivotBarItemRenderer];
|
||||
if (itemRenderer && itemRenderer.isVisible) {
|
||||
if (itemRenderer && !itemRenderer.isDisabled) {
|
||||
[activeTabs addObject:itemRenderer];
|
||||
}
|
||||
}
|
||||
|
|
@ -79,9 +79,7 @@
|
|||
}
|
||||
|
||||
- (UIImage *)imageFromYTIIcon:(YTIIcon *)icon {
|
||||
// Implement the conversion from YTIIcon to UIImage
|
||||
// This is a placeholder implementation and should be replaced with actual conversion logic
|
||||
NSURL *url = [NSURL URLWithString:icon.iconURL];
|
||||
NSURL *url = [NSURL URLWithString:icon.iconURLString];
|
||||
NSData *data = [NSData dataWithContentsOfURL:url];
|
||||
return [UIImage imageWithData:data];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue