#4655 - Localized lock screen voice message name placeholder.

This commit is contained in:
Stefan Ceriu
2021-08-05 15:34:36 +03:00
committed by Stefan Ceriu
parent ac233a3e5b
commit 79b430b4fa
3 changed files with 6 additions and 1 deletions
@@ -249,7 +249,7 @@ import MediaPlayer
}
let nowPlayingInfoCenter = MPNowPlayingInfoCenter.default()
nowPlayingInfoCenter.nowPlayingInfo = [MPMediaItemPropertyTitle: audioPlayer.displayName ?? "Voice message",
nowPlayingInfoCenter.nowPlayingInfo = [MPMediaItemPropertyTitle: audioPlayer.displayName ?? VectorL10n.voiceMessageLockScreenPlaceholder,
MPMediaItemPropertyArtist: currentRoomSummary?.displayname as Any,
MPMediaItemPropertyArtwork: artwork,
MPMediaItemPropertyPlaybackDuration: audioPlayer.duration as Any,