mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-28 18:53:55 +02:00
Fixed Settings avatar display after restart-to-settings.
This commit is contained in:
parent
3d8dadc2e7
commit
52731a737a
2 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,9 @@ void InnerWidget::refreshBlocks() {
|
||||||
|
|
||||||
if (_cover) {
|
if (_cover) {
|
||||||
_cover->show();
|
_cover->show();
|
||||||
|
if (_showFinished) {
|
||||||
|
_cover->showFinished();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for_const (auto block, _blocks) {
|
for_const (auto block, _blocks) {
|
||||||
block->show();
|
block->show();
|
||||||
|
@ -89,6 +92,7 @@ void InnerWidget::refreshBlocks() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void InnerWidget::showFinished() {
|
void InnerWidget::showFinished() {
|
||||||
|
_showFinished = true;
|
||||||
if (_cover) {
|
if (_cover) {
|
||||||
_cover->showFinished();
|
_cover->showFinished();
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,7 @@ private:
|
||||||
UserData *_self = nullptr;
|
UserData *_self = nullptr;
|
||||||
|
|
||||||
int _contentLeft = 0;
|
int _contentLeft = 0;
|
||||||
|
bool _showFinished = false;
|
||||||
|
|
||||||
int _visibleTop = 0;
|
int _visibleTop = 0;
|
||||||
int _visibleBottom = 0;
|
int _visibleBottom = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue