mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Video Chats Improvements
This commit is contained in:
@@ -187,7 +187,9 @@ public final class CallController: ViewController {
|
||||
if port.type == .bluetooth {
|
||||
var image = UIImage(bundleImageName: "Call/CallBluetoothButton")
|
||||
let portName = port.name.lowercased()
|
||||
if portName.contains("airpods pro") {
|
||||
if portName.contains("airpods max") {
|
||||
image = UIImage(bundleImageName: "Call/CallAirpodsMaxButton")
|
||||
} else if portName.contains("airpods pro") {
|
||||
image = UIImage(bundleImageName: "Call/CallAirpodsProButton")
|
||||
} else if portName.contains("airpods") {
|
||||
image = UIImage(bundleImageName: "Call/CallAirpodsButton")
|
||||
|
||||
Reference in New Issue
Block a user