reposition after having a response
This commit is contained in:
parent
b8f785fbc2
commit
2e7fd9ddd4
@ -287,10 +287,10 @@
|
||||
|
||||
#if ENABLE_HARD_CODED_RESPONSE
|
||||
NSDictionary *response = [[MFHardCodedServerResponse sharedInstance] getHardCodedResponseForRequest:requestParameters];
|
||||
#if HARD_CODED_RESPONSE_DELAY > 0
|
||||
[NSThread sleepForTimeInterval:HARD_CODED_RESPONSE_DELAY];
|
||||
#endif
|
||||
if (response) {
|
||||
#if HARD_CODED_RESPONSE_DELAY > 0
|
||||
[NSThread sleepForTimeInterval:HARD_CODED_RESPONSE_DELAY];
|
||||
#endif
|
||||
if (requestFinished) {
|
||||
requestFinished(response, nil);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user