release 0.5.0

This commit is contained in:
2019-09-30 21:25:38 +02:00
parent c23454f081
commit d5adc4df51
3 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ android {
minSdkVersion 23
targetSdkVersion 29
versionCode 14
versionName "0.4.99"
versionName "0.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resValue "string", "build_time", buildTime()
setProperty("archivesBaseName", "projectlaogai-$versionName")

View File

@ -50,7 +50,7 @@ class NFCMensaCard {
* @param context the context to show the dialog in
*/
fun readBalance(intent: Intent, context: Context) {
val tag: Tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)
val tag: Tag? = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)
val isoDep = IsoDep.get(tag)
try {
isoDep.connect()