Skip to content

throw exception when calling finish before pollTag done#142

Open
joshuajylin wants to merge 1 commit intonfcim:masterfrom
joshuajylin:master
Open

throw exception when calling finish before pollTag done#142
joshuajylin wants to merge 1 commit intonfcim:masterfrom
joshuajylin:master

Conversation

@joshuajylin
Copy link

No description provided.


onUserCancelled = {
if (activity.get() != null) {
nfcAdapter.disableReaderMode(activity.get())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about change to

activity.get()?.let { nfcAdapter.disabledReaderMode(it) }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants