mirror of
https://github.com/git-touch/git-touch
synced 2025-02-01 08:26:53 +01:00
fix: correct disk usage
This commit is contained in:
parent
42debe9bf3
commit
c3af4e7d91
@ -46,6 +46,7 @@ class RepoScreen extends StatelessWidget {
|
||||
isPrivate
|
||||
isFork
|
||||
description
|
||||
diskUsage
|
||||
watchers {
|
||||
totalCount
|
||||
}
|
||||
@ -223,7 +224,7 @@ class RepoScreen extends StatelessWidget {
|
||||
leftIconData: Octicons.code,
|
||||
text: Text('Code'),
|
||||
rightWidget:
|
||||
Text(filesize(payload['languages']['totalSize'] as int)),
|
||||
Text(filesize((payload['diskUsage'] as int) * 1000)),
|
||||
screenBuilder: (_) => ObjectScreen(
|
||||
owner: owner,
|
||||
name: name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user