mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-01 15:49:11 +00:00
23 lines
717 B
C#
23 lines
717 B
C#
using DiscordChatExporter.Core.Models;
|
|
using Tyrrrz.Settings;
|
|
|
|
namespace DiscordChatExporter.Core.Services
|
|
{
|
|
public class SettingsService : SettingsManager
|
|
{
|
|
public bool IsAutoUpdateEnabled { get; set; } = true;
|
|
|
|
public string DateFormat { get; set; } = "dd-MMM-yy hh:mm tt";
|
|
|
|
public AuthToken LastToken { get; set; }
|
|
public ExportFormat LastExportFormat { get; set; } = ExportFormat.HtmlDark;
|
|
public int? LastPartitionLimit { get; set; }
|
|
|
|
public SettingsService()
|
|
{
|
|
Configuration.StorageSpace = StorageSpace.Instance;
|
|
Configuration.SubDirectoryPath = "";
|
|
Configuration.FileName = "Settings.dat";
|
|
}
|
|
}
|
|
} |