2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

Make darker toasts for quiz solutions.

This commit is contained in:
John Preston
2020-04-21 14:08:15 +04:00
parent 57e9651a8a
commit 5cfd402b70
2 changed files with 2 additions and 2 deletions

View File

@@ -447,7 +447,7 @@ void Poll::showSolution() const {
return; return;
} }
auto config = Ui::Toast::Config(); auto config = Ui::Toast::Config();
config.multiline = true; config.multiline = config.dark = true;
config.minWidth = st::msgMinWidth; config.minWidth = st::msgMinWidth;
config.maxWidth = st::windowMinWidth; config.maxWidth = st::windowMinWidth;
config.text = _poll->solution; config.text = _poll->solution;