Skip to content

Commit

Permalink
Fix lint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Aug 1, 2023
1 parent 7eaa922 commit 9228923
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/fyne/internal/templates/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var (
// WebGLDebugJs is the content of https://raw.githubusercontent.com/KhronosGroup/WebGLDeveloperTools/b42e702487d02d5278814e0fe2e2888d234893e6/src/debug/webgl-debug.js
WebGLDebugJs = resourceWebglDebugJs.StaticContent

// SpinnerLigth is a spinning gif of Fyne logo with a light background
// SpinnerLight is a spinning gif of Fyne logo with a light background
SpinnerLight = resourceSpinnerlightGif.StaticContent

// CSSLight is a CSS that define color for element on the web splash screen following the light theme
Expand Down
4 changes: 2 additions & 2 deletions dialog/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,9 @@ func TestCreateNewFolderInDir(t *testing.T) {
defer win.Canvas().Overlays().Remove(folderDialogPopup)
assert.NotNil(t, folderDialogPopup)

folderDialogUi := folderDialogPopup.Content.(*fyne.Container)
folderDialogUI := folderDialogPopup.Content.(*fyne.Container)

createNewFolderButton := folderDialogUi.Objects[1].(*fyne.Container).Objects[0].(*fyne.Container).Objects[0].(*widget.Button)
createNewFolderButton := folderDialogUI.Objects[1].(*fyne.Container).Objects[0].(*fyne.Container).Objects[0].(*widget.Button)
assert.Equal(t, "", createNewFolderButton.Text)
assert.Equal(t, theme.FolderNewIcon(), createNewFolderButton.Icon)

Expand Down
2 changes: 1 addition & 1 deletion theme/icons.go
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ func ErrorIcon() fyne.Resource {
return safeIconLookup(IconNameError)
}

// BrokenImageIconreturns a resource containing an icon to specify a broken or missing image
// BrokenImageIcon returns a resource containing an icon to specify a broken or missing image
//
// Since: 2.4
func BrokenImageIcon() fyne.Resource {
Expand Down
2 changes: 1 addition & 1 deletion theme/themedtestapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (t *themedApp) Scale() float32 {
return 1.0
}

func (s *themedApp) ShowAnimations() bool {
func (t *themedApp) ShowAnimations() bool {
return true
}

Expand Down

0 comments on commit 9228923

Please sign in to comment.