Fix input device edit in Calls Settings.

Fixes #9930.
This commit is contained in:
John Preston 2020-12-15 14:23:40 +04:00
parent 15620b5c2d
commit aa5e8422bf
2 changed files with 2 additions and 4 deletions

View File

@ -434,14 +434,12 @@ auto Row::generatePaintUserpicCallback() -> PaintRoundImageCallback {
return [=](Painter &p, int x, int y, int outerWidth, int size) mutable {
if (_blobsAnimation) {
const auto shift = QPointF(x + size / 2., y + size / 2.);
const auto speaking = _speakingAnimation.value(
_speaking ? 1. : 0.);
auto hq = PainterHighQualityEnabler(p);
p.translate(shift);
const auto brush = anim::brush(
st::groupCallMemberInactiveStatus,
st::groupCallMemberActiveStatus,
speaking);
_speakingAnimation.value(_speaking ? 1. : 0.));
_blobsAnimation->blobs.paint(p, brush);
p.translate(-shift);
p.setOpacity(1.);

View File

@ -204,7 +204,7 @@ void Calls::setupContent() {
),
st::settingsButton
)->addClickHandler([=] {
Ui::show(ChooseAudioOutputBox(crl::guard(this, [=](
Ui::show(ChooseAudioInputBox(crl::guard(this, [=](
const QString &id,
const QString &name) {
_inputNameStream.fire_copy(name);