Merge pull request #621 from psyomn/psyomn/add-golangci-lint-and-unused-lint
Add golangci lint and unused lint
This commit is contained in:
@@ -506,11 +506,6 @@ func (a *NowPlayingPage) Refresh() {
|
||||
a.BaseWidget.Refresh()
|
||||
}
|
||||
|
||||
func (a *NowPlayingPage) doSetNewTrackOrder(idxs []int, insertPos int) {
|
||||
newTracks := sharedutil.ReorderItems(a.queue, idxs, insertPos)
|
||||
a.pm.UpdatePlayQueue(newTracks)
|
||||
}
|
||||
|
||||
func (a *NowPlayingPage) saveSelectedTab(tabNum int) {
|
||||
var tabName string
|
||||
switch tabNum {
|
||||
|
||||
@@ -9,16 +9,11 @@ import (
|
||||
myTheme "github.com/dweymouth/supersonic/ui/theme"
|
||||
)
|
||||
|
||||
const (
|
||||
imagePopUpLowRezDim = 128
|
||||
)
|
||||
|
||||
type ImagePopUp struct {
|
||||
widget.PopUp
|
||||
|
||||
img image.Image
|
||||
desiredSize fyne.Size
|
||||
aspect float64
|
||||
}
|
||||
|
||||
func NewImagePopUp(img image.Image, canv fyne.Canvas, size fyne.Size) *ImagePopUp {
|
||||
|
||||
Reference in New Issue
Block a user