Skip to content

Commit

Permalink
Merge pull request #966 from alexbakker/reset-onclick
Browse files Browse the repository at this point in the history
Set onclick listener of SimpleLibraryItem to null if no license is known
  • Loading branch information
mikepenz authored Mar 22, 2024
2 parents ee138c7 + 159a01c commit 9d2e35c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class SimpleLibraryItem(internal val library: Library, private val libsBuilder:
openLicense(ctx, libsBuilder, library)
}
}
} else {
holder.itemView.setOnClickListener(null)
}
}

Expand Down

0 comments on commit 9d2e35c

Please sign in to comment.