mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix positioning
This commit is contained in:
parent
4d84b04173
commit
c06c816cea
@ -891,7 +891,7 @@ final class StorageUsageScreenComponent: Component {
|
|||||||
} else {
|
} else {
|
||||||
doneStatusNode = RadialStatusNode(backgroundNodeColor: .clear)
|
doneStatusNode = RadialStatusNode(backgroundNodeColor: .clear)
|
||||||
self.doneStatusNode = doneStatusNode
|
self.doneStatusNode = doneStatusNode
|
||||||
self.addSubnode(doneStatusNode)
|
self.scrollView.addSubnode(doneStatusNode)
|
||||||
animateIn = true
|
animateIn = true
|
||||||
}
|
}
|
||||||
let doneSize = CGSize(width: 100.0, height: 100.0)
|
let doneSize = CGSize(width: 100.0, height: 100.0)
|
||||||
@ -903,7 +903,7 @@ final class StorageUsageScreenComponent: Component {
|
|||||||
} else {
|
} else {
|
||||||
doneStatusCircle = SimpleShapeLayer()
|
doneStatusCircle = SimpleShapeLayer()
|
||||||
self.doneStatusCircle = doneStatusCircle
|
self.doneStatusCircle = doneStatusCircle
|
||||||
self.layer.addSublayer(doneStatusCircle)
|
self.scrollView.layer.addSublayer(doneStatusCircle)
|
||||||
doneStatusCircle.opacity = 0.0
|
doneStatusCircle.opacity = 0.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user