mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Icons work again
Colors work again
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
@@ -242,6 +243,12 @@ namespace ModernKeePass.Infrastructure.KeePass
|
||||
case EntryFieldName.Icon:
|
||||
pwEntry.IconId = IconMapper.MapIconToPwIcon((Icon)fieldValue);
|
||||
break;
|
||||
case EntryFieldName.BackgroundColor:
|
||||
pwEntry.BackgroundColor = (Color)fieldValue;
|
||||
break;
|
||||
case EntryFieldName.ForegroundColor:
|
||||
pwEntry.ForegroundColor = (Color)fieldValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user