Voice Chat volume UI

This commit is contained in:
Ilya Laktyushin
2020-12-29 22:10:33 +04:00
parent ec5b568d15
commit a706c210de
18 changed files with 6301 additions and 5630 deletions

View File

@@ -873,6 +873,10 @@ public final class VoiceChatController: ViewController {
})
})))
}
items.append(.custom(VoiceChatVolumeContextItem(value: 1.0, valueChanged: { newValue in
strongSelf.call.setVolume(peerId: peer.id, volume: Double(newValue))
})))
}
guard !items.isEmpty else {