Skip to content

Commit efd5358

Browse files
authored
Merge pull request #490 from Playhouse-Studios/main
Prevent double tapping the done button
2 parents 2906839 + 228f6b1 commit efd5358

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Objective-C/TOCropViewController/TOCropViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,8 @@ - (void)doneButtonTapped
954954
};
955955

956956
return;
957+
} else {
958+
self.toolbar.doneTextButton.enabled = false;
957959
}
958960

959961
BOOL isCallbackOrDelegateHandled = NO;

0 commit comments

Comments
 (0)