Skip to content

Commit

Permalink
Cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
metal3d committed Nov 22, 2023
1 parent 604c92b commit 58f4884
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions layout/responsive.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,7 @@ func (resp *ResponsiveLayout) computeElementInLine(objects []fyne.CanvasObject,
// // => 1, 1, 1, 1
// )
func NewResponsiveLayout() fyne.Layout {
r := &ResponsiveLayout{}

//objects := []fyne.CanvasObject{}
//for _, unknowObject := range o {
// if _, ok := unknowObject.(*responsiveWidget); !ok {
// unknowObject = Responsive(unknowObject)
// }
// objects = append(objects, unknowObject)
//}

return r
return &ResponsiveLayout{}
}

var _ fyne.Widget = (*responsiveWidget)(nil)
Expand Down

0 comments on commit 58f4884

Please sign in to comment.