forked from TimOliver/TOCropViewController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TOCropViewController.diff
21 lines (21 loc) · 1.37 KB
/
TOCropViewController.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/Objective-C/TOCropViewController/Views/TOCropToolbar.m b/Objective-C/TOCropViewController/Views/TOCropToolbar.m
index cea84e3..c05e31d 100644
--- a/Objective-C/TOCropViewController/Views/TOCropToolbar.m
+++ b/Objective-C/TOCropViewController/Views/TOCropToolbar.m
@@ -77,7 +77,7 @@
resourceBundle,
nil)
forState:UIControlStateNormal];
- [_doneTextButton setTitleColor:[UIColor colorWithRed:1.0f green:0.8f blue:0.0f alpha:1.0f] forState:UIControlStateNormal];
+ [_doneTextButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[_doneTextButton.titleLabel setFont:[UIFont systemFontOfSize:17.0f]];
[_doneTextButton addTarget:self action:@selector(buttonTapped:) forControlEvents:UIControlEventTouchUpInside];
[_doneTextButton sizeToFit];
@@ -97,6 +97,7 @@
resourceBundle,
nil)
forState:UIControlStateNormal];
+ [_cancelTextButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[_cancelTextButton.titleLabel setFont:[UIFont systemFontOfSize:17.0f]];
[_cancelTextButton addTarget:self action:@selector(buttonTapped:) forControlEvents:UIControlEventTouchUpInside];
[_cancelTextButton sizeToFit];