mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-29 10:02:33 +00:00
Fixed Settings avatar display after restart-to-settings.
This commit is contained in:
parent
3d8dadc2e7
commit
52731a737a
@ -81,6 +81,9 @@ void InnerWidget::refreshBlocks() {
|
||||
|
||||
if (_cover) {
|
||||
_cover->show();
|
||||
if (_showFinished) {
|
||||
_cover->showFinished();
|
||||
}
|
||||
}
|
||||
for_const (auto block, _blocks) {
|
||||
block->show();
|
||||
@ -89,6 +92,7 @@ void InnerWidget::refreshBlocks() {
|
||||
}
|
||||
|
||||
void InnerWidget::showFinished() {
|
||||
_showFinished = true;
|
||||
if (_cover) {
|
||||
_cover->showFinished();
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ private:
|
||||
UserData *_self = nullptr;
|
||||
|
||||
int _contentLeft = 0;
|
||||
bool _showFinished = false;
|
||||
|
||||
int _visibleTop = 0;
|
||||
int _visibleBottom = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user