1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

Fix "nil passed to a callee that requires a non-null 1st parameter" (#4084)

This commit is contained in:
A Cœur 2022-11-07 23:57:35 +08:00 committed by GitHub
parent 69ee92113f
commit 91e5cf31f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ typedef NS_ENUM(unsigned int, filePriorityMenuTag) { //
{
_torrent = torrent;
[self.fFileList setArray:_torrent.fileList];
[self.fFileList setArray:torrent.fileList ?: @[]];
self.filterText = nil;