@@ -212,7 +212,7 @@ func newContracts(u contractUIServices, forCorporation bool) *Contracts {
212212 },
213213 a .columnSorter ,
214214 a .filterRowsAsync ,
215- func (column int , r contractRow ) {
215+ func (_ int , r contractRow ) {
216216 if a .forCorporation {
217217 ShowCorporationContractWindow (a .u , r .corporationID , r .contractID )
218218 } else {
@@ -277,7 +277,7 @@ func newContracts(u contractUIServices, forCorporation bool) *Contracts {
277277 a .u .Signals ().CharacterRemoved .AddListener (func (ctx context.Context , _ * app.EntityShort ) {
278278 a .Update (ctx )
279279 })
280- a .u .Signals ().TagsChanged .AddListener (func (ctx context.Context , s struct {}) {
280+ a .u .Signals ().TagsChanged .AddListener (func (ctx context.Context , _ struct {}) {
281281 a .Update (ctx )
282282 })
283283 }
@@ -315,14 +315,14 @@ func (a *Contracts) makeDataList() *xwidget.StripedList {
315315 },
316316 func () fyne.CanvasObject {
317317 title := widget .NewLabelWithStyle ("Template" , fyne .TextAlignLeading , fyne.TextStyle {Bold : true })
318- type_ := widget .NewLabel ("Template" )
318+ et := widget .NewLabel ("Template" )
319319 status := xwidget .NewRichTextWithText ("Template" )
320320 issuer := widget .NewLabel ("Template" )
321321 assignee := widget .NewLabel ("Template" )
322322 dateExpired := xwidget .NewRichTextWithText ("Template" )
323323 return container .New (layout .NewCustomPaddedVBoxLayout (- p ),
324324 title ,
325- container .NewHBox (type_ , layout .NewSpacer (), status ),
325+ container .NewHBox (et , layout .NewSpacer (), status ),
326326 issuer ,
327327 assignee ,
328328 dateExpired ,
@@ -374,7 +374,7 @@ func (a *Contracts) filterRowsAsync(sortCol int) {
374374 rows := slices .Clone (a .rows )
375375 issuer := a .selectIssuer .Selected
376376 assignee := a .selectAssignee .Selected
377- type_ := a .selectType .Selected
377+ et := a .selectType .Selected
378378 tag := a .selectTag .Selected
379379 sortCol , dir , doSort := a .columnSorter .CalcSort (sortCol )
380380
@@ -405,9 +405,9 @@ func (a *Contracts) filterRowsAsync(sortCol int) {
405405 return r .assigneeName != assignee
406406 })
407407 }
408- if type_ != "" {
408+ if et != "" {
409409 rows = slices .DeleteFunc (rows , func (r contractRow ) bool {
410- return r .typeName != type_
410+ return r .typeName != et
411411 })
412412 }
413413 if tag != "" {
0 commit comments