Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedwardli committed Jun 11, 2020
1 parent 8d35772 commit e490c2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -911,11 +911,10 @@ static NSString *prefsSayNo(BBServer *server, BBBulletin *bulletin) {
//Takes 0.5 second on iPhone 5s to decrypt the image, let's wait for 2 seconds?
int retries = 20;
for(int i = 0; i < retries; i++){
NSLog(@"Fuck: WhatsApp! time=%f fileExistsAtPath:%d, %@", i*0.1, [[NSFileManager defaultManager] fileExistsAtPath:path], path);
[NSThread sleepForTimeInterval:0.1];
if ([[NSFileManager defaultManager] fileExistsAtPath:path]){
break;
}
[NSThread sleepForTimeInterval:0.1];
}
UIImage* highresImage = [UIImage imageWithContentsOfFile:path];

Expand Down

0 comments on commit e490c2a

Please sign in to comment.