mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 14:24:25 +02:00
fix: remove 's' suffix on type directories #10
This commit is contained in:
parent
9e02964884
commit
b55904f564
@ -139,11 +139,7 @@ public class ResFile {
|
||||
EntryBlock entryBlock=pickOne();
|
||||
TypeBlock typeBlock=entryBlock.getTypeBlock();
|
||||
StringBuilder builder=new StringBuilder();
|
||||
String type=typeBlock.getTypeName();
|
||||
builder.append(type);
|
||||
if(!type.equals("plurals") && !type.endsWith("s")){
|
||||
builder.append('s');
|
||||
}
|
||||
builder.append(typeBlock.getTypeName());
|
||||
builder.append(typeBlock.getQualifiers());
|
||||
builder.append('/');
|
||||
builder.append(entryBlock.getName());
|
||||
|
Loading…
x
Reference in New Issue
Block a user