mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
See desc for more.
- Download Entry can now be an object for having "size". - Show little box on the top on download list to display the entry, icon + size. - Add Shortcut icon on download list.
This commit is contained in:
@@ -55,4 +55,12 @@ StoreEntry::StoreEntry(const std::unique_ptr<Store> &store, const std::unique_pt
|
||||
|
||||
this->UpdateAvailable = meta->UpdateAvailable(store->GetUniStoreTitle(), this->Title, store->GetLastUpdatedEntry(index));
|
||||
this->Marks = meta->GetMarks(store->GetUniStoreTitle(), this->Title);
|
||||
|
||||
const std::vector<std::string> entries = store->GetDownloadList(index);
|
||||
|
||||
if (!entries.empty()) {
|
||||
for (int i = 0; i < (int)entries.size(); i++) {
|
||||
this->Sizes.push_back( store->GetFileSizes(index, entries[i]) );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user