minor fix
This commit is contained in:
1 parent
ff68114fe3
commit
782ac4c362
1 file changed
+2
-2
@@ -892,7 +892,7 @@ BOOL isCustomResolution(CGSize res) {
|
||||
for(UIStackView* stack in parentStack.arrangedSubviews){
|
||||
for(UIView* view in stack.subviews){
|
||||
if([view.accessibilityIdentifier isEqualToString:@"infoButton"]) view.hidden = YES;
|
||||
view.userInteractionEnabled = false;
|
||||
// view.userInteractionEnabled = false;
|
||||
}
|
||||
[self attachRemoveButtonForStack:stack];
|
||||
// stack.userInteractionEnabled = false;
|
||||
@@ -904,9 +904,9 @@ BOOL isCustomResolution(CGSize res) {
|
||||
for(UIStackView* stack in parentStack.arrangedSubviews){
|
||||
//stack.userInteractionEnabled = true;
|
||||
for(UIView* view in stack.subviews){
|
||||
//view.
|
||||
if([view.accessibilityIdentifier isEqualToString:@"infoButton"]) view.hidden = NO;
|
||||
if([view.accessibilityIdentifier isEqualToString:@"removeButton"]) [view removeFromSuperview];
|
||||
else view.userInteractionEnabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user