Skip to content

Commit

Permalink
"Rename max to maxValue in progressUpdate function type"
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Aug 17, 2024
1 parent 84d2fe6 commit c94aacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/upload/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func newUI(ctx context.Context, app *UpCmd) *uiPage {
return ui
}

type progressUpdate func(value, max int)
type progressUpdate func(value, maxValue int)

// call back to get the progression
func (p *uiPage) updateImmichReading(value, total int) {
Expand Down

0 comments on commit c94aacb

Please sign in to comment.