renamed from yotp to ndef

This commit is contained in:
Adam Velebil 2022-08-09 15:56:33 +02:00
parent 1a8eaa2e16
commit 4e19e2aed6
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
3 changed files with 4 additions and 4 deletions

View File

@ -47,10 +47,10 @@
</activity>
<activity
android:name=".YOTPActivity"
android:name=".NdefActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/YOTPActivityTheme">
android:theme="@style/NdefActivityTheme">
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />

View File

@ -15,7 +15,7 @@ import java.nio.charset.StandardCharsets
typealias ResourceId = Int
class YOTPActivity : Activity() {
class NdefActivity : Activity() {
private var openAppOnNfcTap: Boolean = false
private var copyOtpOnNfcTap: Boolean = false

View File

@ -16,7 +16,7 @@
<item name="android:windowBackground">?android:colorBackground</item>
</style>
<style name="YOTPActivityTheme" parent="NormalTheme">
<style name="NdefActivityTheme" parent="NormalTheme">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:windowDisablePreview">true</item>