2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Implement media cache management.

This commit is contained in:
John Preston
2019-03-01 18:20:04 +04:00
parent 1940c67a09
commit e631d98230
7 changed files with 228 additions and 68 deletions

View File

@@ -570,7 +570,9 @@ void SetupLocalStorage(not_null<Ui::VerticalLayout*> container) {
lng_settings_manage_local_storage,
st::settingsButton
)->addClickHandler([] {
LocalStorageBox::Show(&Auth().data().cache());
LocalStorageBox::Show(
&Auth().data().cache(),
&Auth().data().cacheBigFile());
});
}