mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-05 03:14:28 +00:00
Fix phantom fron-name link ripple.
This commit is contained in:
@@ -2305,6 +2305,9 @@ void Message::clickHandlerPressedChanged(
|
||||
bool pressed) {
|
||||
const auto startLinkRipple = [&] {
|
||||
if (!_linkRipple) {
|
||||
if (!pressed) {
|
||||
return;
|
||||
}
|
||||
_linkRipple = std::make_unique<LinkRipple>();
|
||||
}
|
||||
_linkRipple->link = handler;
|
||||
|
||||
Reference in New Issue
Block a user