mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-28 16:57:02 +00:00
Clean up
This commit is contained in:
@@ -170,12 +170,12 @@ public class DashboardViewModel : PropertyChangedBase
|
||||
}
|
||||
|
||||
// Threads
|
||||
if (_settingsService.ThreadInclusion != ThreadInclusion.None)
|
||||
if (_settingsService.ThreadInclusionMode != ThreadInclusionMode.None)
|
||||
{
|
||||
await foreach (
|
||||
var thread in _discord.GetGuildThreadsAsync(
|
||||
SelectedGuild.Id,
|
||||
_settingsService.ThreadInclusion == ThreadInclusion.All
|
||||
_settingsService.ThreadInclusionMode == ThreadInclusionMode.All
|
||||
)
|
||||
)
|
||||
{
|
||||
|
||||
@@ -28,13 +28,13 @@ public class SettingsViewModel : DialogScreen
|
||||
set => _settingsService.IsTokenPersisted = value;
|
||||
}
|
||||
|
||||
public IReadOnlyList<ThreadInclusion> AvailableThreadInclusions { get; } =
|
||||
Enum.GetValues<ThreadInclusion>();
|
||||
public IReadOnlyList<ThreadInclusionMode> AvailableThreadInclusions { get; } =
|
||||
Enum.GetValues<ThreadInclusionMode>();
|
||||
|
||||
public ThreadInclusion ThreadInclusion
|
||||
public ThreadInclusionMode ThreadInclusionMode
|
||||
{
|
||||
get => _settingsService.ThreadInclusion;
|
||||
set => _settingsService.ThreadInclusion = value;
|
||||
get => _settingsService.ThreadInclusionMode;
|
||||
set => _settingsService.ThreadInclusionMode = value;
|
||||
}
|
||||
|
||||
public string DateFormat
|
||||
|
||||
Reference in New Issue
Block a user