mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-19 21:31:28 +00:00
Stop redundantly downloading media when re-exporting (#395)
This commit is contained in:
@@ -37,6 +37,12 @@ namespace DiscordChatExporter.Gui.ViewModels.Dialogs
|
||||
get => _settingsService.ParallelLimit;
|
||||
set => _settingsService.ParallelLimit = value.Clamp(1, 10);
|
||||
}
|
||||
|
||||
public bool ShouldReuseMedia
|
||||
{
|
||||
get => _settingsService.ShouldReuseMedia;
|
||||
set => _settingsService.ShouldReuseMedia = value;
|
||||
}
|
||||
|
||||
public SettingsViewModel(SettingsService settingsService)
|
||||
{
|
||||
|
||||
@@ -204,6 +204,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
dialog.Before,
|
||||
dialog.PartitionLimit,
|
||||
dialog.ShouldDownloadMedia,
|
||||
_settingsService.ShouldReuseMedia,
|
||||
_settingsService.DateFormat
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user