Skip to content

Commit

Permalink
Support rebind for amiibo document files
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart committed Jun 6, 2024
1 parent 9ea5c55 commit d05a282
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ class BrowserActivity : AppCompatActivity(), BrowserSettingsListener,
}

override fun onAmiiboRebind(itemView: View, amiiboFile: AmiiboFile?) {
if (amiiboFile?.filePath == null) return
if (null == amiiboFile?.docUri && null == amiiboFile?.filePath) return
try {
val tagData = amiiboFile.data ?: amiiboFile.filePath?.let {
TagArray.getValidatedFile(keyManager, it)
Expand Down

0 comments on commit d05a282

Please sign in to comment.