reposition after having a response

This commit is contained in:
Hedden, Kyle Matthew 2023-12-19 17:11:43 -05:00
parent b8f785fbc2
commit 2e7fd9ddd4

View File

@ -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);
}