Skip to content

Commit 8672382

Browse files
committed
Make cancel button non-prominent
1 parent 2001288 commit 8672382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objective-C/TOCropViewController/Views/TOCropToolbar.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ - (void)setup {
131131
[_cancelIconButton setImage:[TOCropToolbar cancelImage] forState:UIControlStateNormal];
132132
[_cancelIconButton addTarget:self action:@selector(buttonTapped:) forControlEvents:UIControlEventTouchUpInside];
133133
if (@available(iOS 26.0, *)) {
134-
_cancelIconButton.configuration = [UIButtonConfiguration prominentGlassButtonConfiguration];
134+
_cancelIconButton.configuration = [UIButtonConfiguration clearGlassButtonConfiguration];
135135
}
136136
[self addSubview:_cancelIconButton];
137137

0 commit comments

Comments
 (0)