mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
upload radial progress and upload cancel done, photo / file / audio autodownload settings respected
This commit is contained in:
@@ -323,10 +323,10 @@ protected:
|
||||
return _data->progress();
|
||||
}
|
||||
virtual bool dataFinished() const {
|
||||
return !_data->loader;
|
||||
return !_data->loading();
|
||||
}
|
||||
virtual bool dataLoaded() const {
|
||||
return !_data->already().isEmpty();
|
||||
return _data->loaded();
|
||||
}
|
||||
virtual bool iconAnimated() const {
|
||||
return true;
|
||||
@@ -363,10 +363,10 @@ protected:
|
||||
return _data->progress();
|
||||
}
|
||||
virtual bool dataFinished() const {
|
||||
return !_data->loader;
|
||||
return !_data->loading();
|
||||
}
|
||||
virtual bool dataLoaded() const {
|
||||
return !_data->already().isEmpty() || !_data->data.isEmpty();
|
||||
return _data->loaded();
|
||||
}
|
||||
virtual bool iconAnimated() const {
|
||||
return true;
|
||||
@@ -375,6 +375,7 @@ protected:
|
||||
private:
|
||||
OverviewItemInfo _info;
|
||||
AudioData *_data;
|
||||
TextLinkPtr _namel;
|
||||
|
||||
mutable Text _name, _details;
|
||||
mutable int32 _nameVersion;
|
||||
@@ -407,13 +408,13 @@ protected:
|
||||
return _data->progress();
|
||||
}
|
||||
virtual bool dataFinished() const {
|
||||
return !_data->loader;
|
||||
return !_data->loading();
|
||||
}
|
||||
virtual bool dataLoaded() const {
|
||||
return _data->loaded();
|
||||
}
|
||||
virtual bool iconAnimated() const {
|
||||
return _data->song() || !dataLoaded() || (_radial && _radial->animating());
|
||||
return _data->song() || !_data->loaded() || (_radial && _radial->animating());
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user