Fixed unknown type for manual type

This commit is contained in:
deiflaender 2022-03-24 18:21:01 +01:00
parent 4814ce3650
commit a5b96f1489

View File

@ -371,7 +371,7 @@ public class RedactionLogMergeService {
if (foundType.isPresent()){ if (foundType.isPresent()){
return convertColor(foundType.get().getHexColor()); return convertColor(foundType.get().getHexColor());
} }
throw new RuntimeException("Unkonwn type"); return convertColor("#9398a0");
} }
@ -380,7 +380,7 @@ public class RedactionLogMergeService {
if (foundType.isPresent()){ if (foundType.isPresent()){
return foundType.get().isHint(); return foundType.get().isHint();
} }
throw new RuntimeException("Unkonwn type"); return false;
} }