mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-13 11:56:03 +00:00
* ios: audio device picker
* removed unused
* removed logs
* correct routing
* Revert "removed unused"
This reverts commit d883d7a719.
* changes
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
26 lines
520 B
Swift
26 lines
520 B
Swift
//
|
|
// MPVolumeView.swift
|
|
// SimpleX (iOS)
|
|
//
|
|
// Created by Stanislav on 24.04.2024.
|
|
// Copyright © 2024 SimpleX Chat. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import SwiftUI
|
|
import UIKit
|
|
import AVKit
|
|
|
|
struct AudioDevicePicker: UIViewRepresentable {
|
|
func makeUIView(context: Context) -> some UIView {
|
|
let v = AVRoutePickerView(frame: .zero)
|
|
v.activeTintColor = .white
|
|
v.tintColor = .white
|
|
return v
|
|
}
|
|
|
|
func updateUIView(_ uiView: UIViewType, context: Context) {
|
|
|
|
}
|
|
}
|