Skip to content

Commit 5e780e6

Browse files
committed
Fix UIButton selection view on iOS 16
1 parent 17ea497 commit 5e780e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Toolbar/FLEXExplorerToolbarItem.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ + (instancetype)itemWithTitle:(NSString *)title image:(UIImage *)image {
3333
+ (instancetype)itemWithTitle:(NSString *)title image:(UIImage *)image sibling:(FLEXExplorerToolbarItem *)backupItem {
3434
NSParameterAssert(title); NSParameterAssert(image);
3535

36-
FLEXExplorerToolbarItem *toolbarItem = [self buttonWithType:UIButtonTypeSystem];
36+
FLEXExplorerToolbarItem *toolbarItem = [self buttonWithType:UIButtonTypeCustom];
3737
toolbarItem.sibling = backupItem;
3838
toolbarItem.title = title;
3939
toolbarItem.image = image;

0 commit comments

Comments
 (0)