mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Improve "show" last seen button design.
This commit is contained in:
@@ -413,6 +413,10 @@ void Cover::setupShowLastSeen() {
|
||||
_showLastSeen->hide();
|
||||
}
|
||||
|
||||
using TextTransform = Ui::RoundButton::TextTransform;
|
||||
_showLastSeen->setTextTransform(TextTransform::NoTransform);
|
||||
_showLastSeen->setFullRadius(true);
|
||||
|
||||
_showLastSeen->setClickedCallback([=] {
|
||||
const auto type = Ui::ShowOrPremium::LastSeen;
|
||||
auto box = Box(Ui::ShowOrPremiumBox, type, user->shortName(), [=] {
|
||||
|
Reference in New Issue
Block a user