mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
stickers emoji tab done, local cache for stickers, recent stickers and voice messages
This commit is contained in:
@@ -1044,11 +1044,11 @@ Window::TempDirState Window::tempDirState() {
|
||||
return QDir(cTempDir()).exists() ? TempDirExists : TempDirEmpty;
|
||||
}
|
||||
|
||||
Window::TempDirState Window::localImagesState() {
|
||||
if (_clearManager && _clearManager->hasTask(Local::ClearManagerImages)) {
|
||||
Window::TempDirState Window::localStorageState() {
|
||||
if (_clearManager && _clearManager->hasTask(Local::ClearManagerStorage)) {
|
||||
return TempDirRemoving;
|
||||
}
|
||||
return Local::hasImages() ? TempDirExists : TempDirEmpty;
|
||||
return (Local::hasImages() || Local::hasStickers() || Local::hasAudios()) ? TempDirExists : TempDirEmpty;
|
||||
}
|
||||
|
||||
void Window::tempDirDelete(int task) {
|
||||
|
Reference in New Issue
Block a user