mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Core - Rewrote profile configuration icons
WPF UI - Adjusted for the above rewrite Avalonia UI - Implemented profile icons
This commit is contained in:
1 parent
4c5c785aa6
commit
a6f1b05c19
31 files changed
+659
-105
No files matched your search
@@ -8,6 +8,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string MaterialIcon { get; set; }
|
||||
public string IconOriginalFileName { get; set; }
|
||||
public Guid FileIconId { get; set; }
|
||||
public int IconType { get; set; }
|
||||
public int Order { get; set; }
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Artemis.Storage.Repositories
|
||||
if (stream == null && _profileIcons.Exists(profileConfigurationEntity.FileIconId))
|
||||
_profileIcons.Delete(profileConfigurationEntity.FileIconId);
|
||||
|
||||
_profileIcons.Upload(profileConfigurationEntity.FileIconId, "image", stream);
|
||||
_profileIcons.Upload(profileConfigurationEntity.FileIconId, profileConfigurationEntity.IconOriginalFileName, stream);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user