Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using StabilityMatrix.Core.Services;
|
|
|
|
|
|
|
|
namespace StabilityMatrix.Avalonia.DesignData;
|
|
|
|
|
|
|
|
public class MockSettingsManager : SettingsManager
|
|
|
|
{
|
|
|
|
protected override void LoadSettings(CancellationToken cancellationToken = default) { }
|
|
|
|
|
|
|
|
protected override Task LoadSettingsAsync(CancellationToken cancellationToken = default)
|
|
|
|
{
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void SaveSettings(CancellationToken cancellationToken = default) { }
|
|
|
|
|
|
|
|
protected override Task SaveSettingsAsync(CancellationToken cancellationToken = default)
|
|
|
|
{
|
|
|
|
return Task.CompletedTask;
|
|
|
|
}
|
|
|
|
}
|