mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-06 00:32:32 -08:00
Support custom icons in groups.
This commit is contained in:
1 parent
695e9a0c26
commit
165d96c112
13 files changed
+30
-42
No files matched your search
@@ -37,7 +37,7 @@ public class PwEntryV4 extends PwEntry implements ITimeLogger {
|
||||
public UUID uuid;
|
||||
public Map<String, String> strings = new HashMap<String, String>();
|
||||
public Map<String, byte[]> binaries = new HashMap<String, byte[]>();
|
||||
public PwIconCustom customIcon;
|
||||
public PwIconCustom customIcon = PwIconCustom.ZERO;
|
||||
public String foregroundColor;
|
||||
public String backgroupColor;
|
||||
public String overrideURL;
|
||||
@@ -255,7 +255,7 @@ public class PwEntryV4 extends PwEntry implements ITimeLogger {
|
||||
|
||||
@Override
|
||||
public PwIcon getIcon() {
|
||||
if (customIcon == null || customIcon.equals(PwDatabaseV4.UUID_ZERO)) {
|
||||
if (customIcon == null || customIcon.uuid.equals(PwDatabaseV4.UUID_ZERO)) {
|
||||
return super.getIcon();
|
||||
} else {
|
||||
return customIcon;
|
||||
|
||||
Reference in new issue
Block a user