mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Adopting lightweight generics (#2974)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
@interface InfoGeneralViewController ()
|
||||
|
||||
@property(nonatomic, copy) NSArray* fTorrents;
|
||||
@property(nonatomic, copy) NSArray<Torrent*>* fTorrents;
|
||||
|
||||
@property(nonatomic) BOOL fSet;
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setInfoForTorrents:(NSArray*)torrents
|
||||
- (void)setInfoForTorrents:(NSArray<Torrent*>*)torrents
|
||||
{
|
||||
//don't check if it's the same in case the metadata changed
|
||||
self.fTorrents = torrents;
|
||||
|
||||
Reference in New Issue
Block a user