Skip to content

Commit 1802a28

Browse files
committed
Various improvements
1 parent 20630b4 commit 1802a28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

submodules/TelegramUI/Components/ChatThemeScreen/Sources/GiftThemeTransferAlertController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public func giftThemeTransferAlertController(
275275
var dismissImpl: ((Bool) -> Void)?
276276
let actions: [TextAlertAction] = [TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: {
277277
dismissImpl?(true)
278-
}), TextAlertAction(type: .defaultAction, title: presentationData.strings.Conversation_Theme_GiftTransfer_Proceed, action: { [weak contentNode] in
278+
}), TextAlertAction(type: .defaultAction, title: presentationData.strings.Conversation_Theme_GiftTransfer_Proceed, action: {
279279
dismissImpl?(true)
280280
commit()
281281
})]

submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoHeaderNode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2640,7 +2640,7 @@ final class PeerInfoHeaderNode: ASDisplayNode {
26402640
}
26412641
return musicBackground
26422642
}()
2643-
musicTransition.updateFrame(view: musicBackground, frame: CGRect(origin: CGPoint(x: 0.0, y: backgroundHeight - musicHeight - buttonRightOrigin.y), size: CGSize(width: backgroundFrame.width, height: musicHeight)))
2643+
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)))
26442644

26452645
if let _ = self.navigationTransition {
26462646
transition.updateAlpha(layer: musicBackground.layer, alpha: 1.0 - transitionFraction)

0 commit comments

Comments
 (0)