Skip to content

Commit

Permalink
delete unused helper func
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Feb 21, 2025
1 parent ecbaebf commit b583c80
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions internal/cache/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,6 @@ func destroyExpiredRenderers(now time.Time) {
})
}

// matchesACanvas returns true if the canvas represented by the canvasInfo object matches one of
// the canvases passed in 'canvases', otherwise false is returned.
func matchesACanvas(cinfo *canvasInfo, canvases []fyne.Canvas) bool {
canvas := cinfo.canvas

for _, obj := range canvases {
if obj == canvas {
return true
}
}
return false
}

type expiringCache struct {
expires time.Time
}
Expand Down

0 comments on commit b583c80

Please sign in to comment.