From ccc385a126490d1c12e459e7e294744fc6987468 Mon Sep 17 00:00:00 2001 From: aricloverEXALT <157071384+aricloverEXALT@users.noreply.github.com> Date: Sun, 12 Jan 2025 18:27:15 -0600 Subject: [PATCH] Update YTPivotBarReorder.m --- Sources/YTPivotBarReorder.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/YTPivotBarReorder.m b/Sources/YTPivotBarReorder.m index 24733b0..838643e 100644 --- a/Sources/YTPivotBarReorder.m +++ b/Sources/YTPivotBarReorder.m @@ -1,4 +1,4 @@ -#import "YTPivotBarReorder.h" +#import "ReorderNotificationsBar.h" #import "uYouPlus.h" #import #import @@ -6,7 +6,7 @@ #import #import -@interface YTPivotBarReorder () +@interface ReorderNotificationsBar () @property (strong, nonatomic) UICollectionView *collectionView; @property (strong, nonatomic) NSMutableArray *pivotBarItems; @@ -15,7 +15,7 @@ @end -@implementation YTPivotBarReorder +@implementation ReorderNotificationsBar - (void)viewDidLoad { [super viewDidLoad]; @@ -95,7 +95,7 @@ - (void)reorderPivotTabToIndex:(NSUInteger)index { if (index >= self.pivotBarItems.count) return; - YTIPivotBarItemRenderer *selectedItem = self.pivotBarItems[0]; // Assuming the first item is the one to reorder + YTIPivotBarItemRenderer *selectedItem = self.pivotBarItems[0]; [self.pivotBarItems removeObjectAtIndex:0]; [self.pivotBarItems insertObject:selectedItem atIndex:index]; [self.collectionView reloadData];