mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
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:
parent
27e56d60b5
commit
9b3e7136bd
4 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue