فهرست منبع

fix flashing of waveformview during the initialization

cyberta 5 سال پیش
والد
کامیت
b180ccb302
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      deltachat-ios/Controller/AudioRecorderController.swift

+ 2 - 1
deltachat-ios/Controller/AudioRecorderController.swift

@@ -31,7 +31,8 @@ class AudioRecorderController: UIViewController, AVAudioRecorderDelegate {
 
     lazy var waveFormView: SCSiriWaveformView = {
         let view = SCSiriWaveformView()
-        view.alpha = 1.0
+        view.alpha = 0.0
+        view.waveColor = .clear
         view.backgroundColor = .clear
         view.translatesAutoresizingMaskIntoConstraints = false
         view.primaryWaveLineWidth = 3.0