Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed May 4, 2021
1 parent 7b78fe9 commit e56baad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/create_restore_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (pg *createRestore) layout(gtx layout.Context, common pageCommon) layout.Di
return pg.processing(gtx)
})
} else if pg.showRestore {
return pg.restore(gtx, common)
return pg.restore(gtx)
} else {
return layout.Inset{Top: pd, Left: pd, Right: pd}.Layout(gtx, func(gtx C) D {
return pg.mainContent(gtx)
Expand Down Expand Up @@ -302,7 +302,7 @@ func (pg *createRestore) mainContent(gtx layout.Context) layout.Dimensions {
)
}

func (pg *createRestore) restore(gtx layout.Context, common pageCommon) layout.Dimensions {
func (pg *createRestore) restore(gtx layout.Context) layout.Dimensions {
op.TransformOp{}.Add(gtx.Ops)
paint.Fill(gtx.Ops, pg.theme.Color.LightGray)
dims := layout.Stack{Alignment: layout.S}.Layout(gtx,
Expand Down

0 comments on commit e56baad

Please sign in to comment.