Implemented image preloading

This commit is contained in:
2025-11-20 20:06:30 +01:00
parent 9767feb3e2
commit af19b29fdb
7 changed files with 106 additions and 0 deletions

View File

@@ -11,9 +11,17 @@ public class AdminSettingsModel
public required string BarcodeText { get; set; }
public required Dictionary<string, Preset> Presets { get; set; }
public HashAlgorithm? hashAlgorithm;
public UserImagePreloadType? UserImagePreloadType { get; set; } = Models.UserImagePreloadType.None;
}
public class Preset
{
public required Dictionary<string, string> Attribute { get; set; }
}
public enum UserImagePreloadType
{
None,
Icons,
FullSized
}