mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use temp directory for downloads in Linux sandbox by default
This commit is contained in:
@@ -1057,7 +1057,7 @@ void SetupDataStorage(
|
||||
if (text.isEmpty()) {
|
||||
return Core::App().canReadDefaultDownloadPath(true)
|
||||
? tr::lng_download_path_default(tr::now)
|
||||
: tr::lng_download_path_unset(tr::now);
|
||||
: tr::lng_download_path_temp(tr::now);
|
||||
} else if (text == FileDialog::Tmp()) {
|
||||
return tr::lng_download_path_temp(tr::now);
|
||||
}
|
||||
|
Reference in New Issue
Block a user