Просмотр исходного кода

VLCSettingsController: Remove unnecessary cell registration

This led to colors not being correctly updated issues.
Soomin Lee 6 лет назад
Родитель
Сommit
058b8c9873
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      Sources/VLCSettingsController.m

+ 0 - 1
Sources/VLCSettingsController.m

@@ -72,7 +72,6 @@ NSString * const kVLCSectionTableHeaderViewIdentifier = @"VLCSectionTableHeaderV
     
     actionSheet = [[VLCActionSheet alloc] init];
     actionSheet.modalPresentationStyle = UIModalPresentationCustom;
-    [actionSheet.collectionView registerClass:[VLCActionSheetCell class] forCellWithReuseIdentifier:VLCActionSheetCell.identifier];
     
     specifierManager = [[VLCSettingsSpecifierManager alloc] initWithSettingsReader:self.settingsReader settingsStore:self.settingsStore];
 }