Introduce optional 'name' field for iconpack icons

This introduces a new (optional) 'name' field for iconpack icons. It
will be used to describe the icon in the icon selection dialog. If it is
not present, the name of the icon will be derived from the filename,
like before. Using this new field allows usage of more exotic characters
in the icon name that are not allowed in a filename.
This commit is contained in:
Alexander Bakker 2023-09-07 22:45:58 +02:00
parent 27e56d60b5
commit 9b3e7136bd
4 changed files with 15 additions and 13 deletions

View file

@ -852,11 +852,12 @@ public class EditEntryActivity extends AegisActivity {
private final File _file;
protected CustomSvgIcon(File file) {
super(file.getAbsolutePath(), null, null);
super(file.getAbsolutePath(), null, null, null);
_file = file;
}
@Nullable
@Override
public File getFile() {
return _file;
}