Skip to content

Commit 228f6b1

Browse files
committed
hide done button when tapped
1 parent b487850 commit 228f6b1

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)