Downgrade apache lib to fix files issue (#1248)

Fixes #1240

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1248
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
This commit is contained in:
M M Arif 2023-02-04 19:33:42 +00:00
parent 1b44f907d6
commit 7d835dd448
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ dependencies {
implementation "io.noties.markwon:image-picasso:$markwon_version"
implementation "com.github.HamidrezaAmz:BreadcrumbsView:0.2.9"
//noinspection GradleDependency
implementation 'commons-io:commons-io:2.11.0'
implementation 'commons-io:commons-io:2.5'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation "com.github.chrisbanes:PhotoView:2.3.0"
implementation "ch.acra:acra-mail:$acra"

View file

@ -203,7 +203,7 @@ public class RepoInfoFragment extends Fragment {
binding.repoMetaForks.setText(String.valueOf(repoInfo.getForksCount()));
binding.repoMetaWatchers.setText(String.valueOf(repoInfo.getWatchersCount()));
binding.repoMetaSize.setText(
FileUtils.byteCountToDisplaySize(repoInfo.getSize() * 1024));
FileUtils.byteCountToDisplaySize((int) (repoInfo.getSize() * 1024)));
binding.repoMetaCreatedAt.setText(
TimeHelper.formatTime(repoInfo.getCreatedAt(), locale));