Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zzc/dev/split lfs size junupdate #8

Conversation

DmitryFrolovTri
Copy link

Hi @a1012112796 added the requested by lunny code to use struct.
Also moved the size tooltip so it's centered on the number in the settings screen.

var str strings.Builder
sizeDetails := repo.SizeDetails()
for _, detail := range sizeDetails {
str.WriteString(fmt.Sprintf("%s: %s, ", detail.Name, base.FileSize(detail.Size)))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's not the last item, write , otherwise do nothing.

@a1012112796 a1012112796 merged commit ad93fee into a1012112796:zzc/dev/split_lfs_size Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants