mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-26 19:14:02 +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) {
|
||||
_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…
Add table
Reference in a new issue