fix lint message about unused lambda expression

This commit is contained in:
Alex Akselrod 2023-11-02 13:11:12 -07:00
parent d757f8d894
commit cfb8733939
No known key found for this signature in database
GPG key ID: 57D7612D178AA487

View file

@ -65,7 +65,7 @@ class MainActivity : AppCompatActivity() {
getString(R.string.cancel),
)
}
.request { allGranted, _, _ -> {}
.request { allGranted, _, _ ->
if (!allGranted) {
Toast.makeText(this, R.string.ntfn_denied, Toast.LENGTH_LONG).show()
}