This commit is contained in:
Adam Velebil 2023-02-08 11:53:09 +01:00
commit d508533ad9
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -166,6 +166,7 @@ class MainActivity : FlutterFragmentActivity() {
appPreferences.unregisterListener(sharedPreferencesListener) appPreferences.unregisterListener(sharedPreferencesListener)
stopUsbDiscovery()
stopNfcDiscovery() stopNfcDiscovery()
if (!appPreferences.openAppOnUsb) { if (!appPreferences.openAppOnUsb) {
enableAliasMainActivityComponent(false) enableAliasMainActivityComponent(false)