Fix action sheet items update

This commit is contained in:
Ilya Laktyushin
2021-02-19 16:02:17 +04:00
parent 324f9d76a0
commit 5597eacb4e
37 changed files with 107 additions and 116 deletions

View File

@@ -256,7 +256,7 @@ private final class ProxyServerInfoItemNode: ActionSheetItemNode {
offset += 36.0
}
self.updateInternalLayout(size)
self.updateInternalLayout(size, constrainedSize: constrainedSize)
return size
}
}
@@ -368,7 +368,7 @@ private final class ProxyServerActionItemNode: ActionSheetItemNode {
self.titleNode.frame = titleFrame
self.activityIndicator.frame = CGRect(origin: CGPoint(x: 14.0, y: titleFrame.minY - 0.0), size: activitySize)
self.updateInternalLayout(size)
self.updateInternalLayout(size, constrainedSize: constrainedSize)
return size
}