Reverse assigning the loadObject identifier to the operation. (self.identifer will always be nil on init.)
This commit is contained in:
parent
1e487dd58b
commit
0c8012d40f
@ -53,7 +53,7 @@
|
|||||||
- (nullable instancetype)initWithLoadObject:(nullable MVMCoreLoadObject *)loadObject backgroundLoad:(BOOL)backgroundLoad {
|
- (nullable instancetype)initWithLoadObject:(nullable MVMCoreLoadObject *)loadObject backgroundLoad:(BOOL)backgroundLoad {
|
||||||
|
|
||||||
if (self = [self initWithRequestParameters:loadObject.requestParameters dataForPage:loadObject.dataForPage delegateObject:loadObject.delegateObject backgroundLoad:backgroundLoad]) {
|
if (self = [self initWithRequestParameters:loadObject.requestParameters dataForPage:loadObject.dataForPage delegateObject:loadObject.delegateObject backgroundLoad:backgroundLoad]) {
|
||||||
loadObject.identifier = self.identifier;
|
self.identifier = loadObject.identifier;
|
||||||
self.loadObject = loadObject;
|
self.loadObject = loadObject;
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user