Skip to content

Commit 34ff4d1

Browse files
committed
Various improvements
1 parent 1802a28 commit 34ff4d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Telegram/Telegram-iOS/en.lproj/Localizable.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14951,7 +14951,7 @@ Sorry for the inconvenience.";
1495114951
"MediaPlayer.ContextMenu.SaveTo.Profile" = "Profile";
1495214952
"MediaPlayer.ContextMenu.SaveTo.SavedMessages" = "Saved Messages";
1495314953
"MediaPlayer.ContextMenu.SaveTo.Files" = "Files";
14954-
"MediaPlayer.ContextMenu.SaveTo.Info" = "Save to Files";
14954+
"MediaPlayer.ContextMenu.SaveTo.Info" = "Choose where you want this audio to be saved.";
1495514955
"MediaPlayer.ContextMenu.ShowInChat" = "Show in Chat";
1495614956
"MediaPlayer.ContextMenu.Forward" = "Forward";
1495714957
"MediaPlayer.ContextMenu.Delete" = "Delete";

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ final class PeerInfoHeaderNode: ASDisplayNode {
596596
currentSavedMusic = cachedUserData.savedMusic
597597
}
598598
}
599-
let musicHeight: CGFloat = hasBackground ? 24.0 : 16.0
599+
let musicHeight: CGFloat = hasBackground || self.isAvatarExpanded ? 24.0 : 16.0
600600
let bottomInset: CGFloat = currentSavedMusic != nil ? musicHeight : 0.0
601601

602602
let isLandscape = containerInset > 16.0
@@ -2698,7 +2698,7 @@ final class PeerInfoHeaderNode: ASDisplayNode {
26982698
environment: {},
26992699
containerSize: CGSize(width: backgroundFrame.width, height: musicHeight)
27002700
)
2701-
let musicFrame = CGRect(origin: CGPoint(x: 0.0, y: (apparentBackgroundHeight - backgroundHeight) + backgroundHeight - musicHeight - (hasBackground ? 0.0 : 4.0)), size: musicSize)
2701+
let musicFrame = CGRect(origin: CGPoint(x: 0.0, y: (apparentBackgroundHeight - backgroundHeight) + backgroundHeight - musicHeight - (hasBackground || self.isAvatarExpanded ? 0.0 : 4.0)), size: musicSize)
27022702
if let musicView = music.view {
27032703
if musicView.superview == nil {
27042704
self.regularContentNode.view.addSubview(musicView)

0 commit comments

Comments
 (0)