Skip to content

Commit

Permalink
fix: toggle crop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed Nov 8, 2024
1 parent 6cb6d43 commit db4a35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlowCryptUI/Cell Nodes/SwitchCellNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final class SwitchCellNode: CellNode {
}

override public func layoutSpecThatFits(_ constrainedSize: ASSizeRange) -> ASLayoutSpec {
switchNode.style.preferredSize = CGSize(width: 50, height: 30)
switchNode.style.preferredSize = CGSize(width: 55, height: 30)
textNode.style.flexGrow = 1.0
textNode.style.flexShrink = 1.0
return ASStackLayoutSpec(
Expand Down

0 comments on commit db4a35e

Please sign in to comment.