diff --git a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp index 33e7096d0..d7e853bd7 100644 --- a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp @@ -850,7 +850,7 @@ void FillPeerQrBox( const auto backgroundToggled = state->backgroundToggled.current(); const auto scale = style::kScaleDefault * (kMaxQualities + int(state->scaleValue.current() * 2)); - const auto divider = std::max(1, style::Scale()) + const auto divider = std::max(100, style::Scale()) / style::kScaleDefault; const auto profileQrBackgroundRadius = style::ConvertScale( st::profileQrBackgroundRadius / divider,