mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-11 06:03:40 +00:00
Redesign auto download box.
This commit is contained in:
@@ -247,19 +247,9 @@ void Session::photoLoadSettingsChanged() {
|
||||
}
|
||||
}
|
||||
|
||||
void Session::voiceLoadSettingsChanged() {
|
||||
void Session::documentLoadSettingsChanged() {
|
||||
for (const auto &[id, document] : _documents) {
|
||||
if (document->isVoiceMessage()) {
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Session::animationLoadSettingsChanged() {
|
||||
for (const auto &[id, document] : _documents) {
|
||||
if (document->isAnimation()) {
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -238,8 +238,7 @@ public:
|
||||
const Dialogs::Key &key2);
|
||||
|
||||
void photoLoadSettingsChanged();
|
||||
void voiceLoadSettingsChanged();
|
||||
void animationLoadSettingsChanged();
|
||||
void documentLoadSettingsChanged();
|
||||
|
||||
void notifyPhotoLayoutChanged(not_null<const PhotoData*> photo);
|
||||
void notifyDocumentLayoutChanged(
|
||||
|
||||
Reference in New Issue
Block a user