Skip to content

Commit

Permalink
Navigator: File size display fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Mar 7, 2024
1 parent db351e4 commit 9db5a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Archive getArchive() {

@Override
public long getLength() {
return entry.hash();
return entry.span().size();
}

@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public String getExtension() {
return extension;
}

@Override
@NotNull
public Packfile getPackfile() {
return (Packfile) file.getArchive();
Expand Down

0 comments on commit 9db5a74

Please sign in to comment.