Fix location view directions button subtitle

This commit is contained in:
Ilya Laktyushin
2020-11-15 23:04:24 +04:00
parent 40e28d769d
commit c2f111a5b8
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ public final class SolidRoundedButtonNode: ASDisplayNode {
}
public func updateLayout(width: CGFloat, transition: ContainedViewLayoutTransition) -> CGFloat {
return self.updateLayout(width: width, previousSubtitle: nil, transition: transition)
return self.updateLayout(width: width, previousSubtitle: self.subtitle, transition: transition)
}
private func updateLayout(width: CGFloat, previousSubtitle: String?, transition: ContainedViewLayoutTransition) -> CGFloat {