Various improvements

This commit is contained in:
Ilya Laktyushin 2025-08-28 02:40:18 +04:00
parent 20630b499e
commit 1802a28686
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ public func giftThemeTransferAlertController(
var dismissImpl: ((Bool) -> Void)?
let actions: [TextAlertAction] = [TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: {
dismissImpl?(true)
}), TextAlertAction(type: .defaultAction, title: presentationData.strings.Conversation_Theme_GiftTransfer_Proceed, action: { [weak contentNode] in
}), TextAlertAction(type: .defaultAction, title: presentationData.strings.Conversation_Theme_GiftTransfer_Proceed, action: {
dismissImpl?(true)
commit()
})]

View File

@ -2640,7 +2640,7 @@ final class PeerInfoHeaderNode: ASDisplayNode {
}
return musicBackground
}()
musicTransition.updateFrame(view: musicBackground, frame: CGRect(origin: CGPoint(x: 0.0, y: backgroundHeight - musicHeight - buttonRightOrigin.y), size: CGSize(width: backgroundFrame.width, height: musicHeight)))
musicTransition.updateFrame(view: musicBackground, frame: CGRect(origin: CGPoint(x: 0.0, y: backgroundHeight - 24.0 - buttonRightOrigin.y), size: CGSize(width: backgroundFrame.width, height: 24.0)))
if let _ = self.navigationTransition {
transition.updateAlpha(layer: musicBackground.layer, alpha: 1.0 - transitionFraction)