Skip to content

Commit

Permalink
Don't upper-case blocking popup buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Aug 4, 2022
1 parent fbab530 commit 6fd8864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webview/webview_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ PopupResult ShowBlockingPopup(PopupArgs &&args) {
(descriptor.type != Type::Destructive
? st::webviewDialogButton
: st::webviewDialogDestructiveButton));
button->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
button->setClickedCallback([=, &result, id = descriptor.id]{
result.id = id;
if (input) {
Expand Down

0 comments on commit 6fd8864

Please sign in to comment.