mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Remove legacy image-related code.
This commit is contained in:
@@ -1383,8 +1383,6 @@ float64 MainWidget::chatBackgroundProgress() const {
|
||||
return 1.;
|
||||
} else if (const auto document = _background->data.document()) {
|
||||
return _background->dataMedia->progress();
|
||||
} else if (const auto thumbnail = _background->data.localThumbnail()) {
|
||||
return thumbnail->progress();
|
||||
}
|
||||
}
|
||||
return 1.;
|
||||
|
Reference in New Issue
Block a user