Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit afcc12a

Browse files
committed
fix linter warnings
1 parent 13ce57b commit afcc12a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/kotlin/de/bahnhoefe/deutschlands/bahnhofsfotos/CountryActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class CountryActivity : AppCompatActivity() {
3535
previousSelectedCountries.toMutableSet()
3636
)
3737
binding.lstCountries.adapter = countryAdapter
38-
binding.lstCountries.setOnItemClickListener { listview, view, position, id ->
38+
binding.lstCountries.setOnItemClickListener { _, view, _, _ ->
3939
val itemBinding: ItemCountryBinding = view.tag as ItemCountryBinding
40-
itemBinding.checkCountry.setChecked(!itemBinding.checkCountry.isChecked())
40+
itemBinding.checkCountry.isChecked = !itemBinding.checkCountry.isChecked
4141
itemBinding.checkCountry.callOnClick()
4242
}
4343
}

0 commit comments

Comments
 (0)