2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Show download start date in Downloads section.

This commit is contained in:
John Preston
2022-02-26 19:48:12 +03:00
parent 57f17b7afe
commit 5ddcf402bc
5 changed files with 30 additions and 8 deletions

View File

@@ -335,12 +335,16 @@ private:
};
struct DocumentFields {
not_null<DocumentData*> document;
TimeId dateOverride = 0;
};
class Document final : public RadialProgressItem {
public:
Document(
not_null<Delegate*> delegate,
not_null<HistoryItem*> parent,
not_null<DocumentData*> document,
DocumentFields fields,
const style::OverviewFileLayout &st);
void initDimensions() override;