File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Telegram/SourceFiles/ui/effects Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,9 @@ Bubble::Bubble(
6464 const auto texts = _textFactory (0 );
6565 _numberAnimation.setText (texts.counter , 0 );
6666 _numberAnimation.finishAnimating ();
67- _additional.setText (_st.additionalStyle , texts.additional );
67+ if (!texts.additional .isEmpty ()) {
68+ _additional.setText (_st.additionalStyle , texts.additional );
69+ }
6870}
6971
7072crl::time Bubble::SlideNoDeflectionDuration () {
@@ -120,7 +122,9 @@ void Bubble::setCounter(int value) {
120122 _counter = value;
121123 const auto texts = _textFactory (value);
122124 _numberAnimation.setText (texts.counter , value);
123- _additional.setText (_st.additionalStyle , texts.additional );
125+ if (!texts.additional .isEmpty ()) {
126+ _additional.setText (_st.additionalStyle , texts.additional );
127+ }
124128 }
125129}
126130
You can’t perform that action at this time.
0 commit comments