From 4085b16447ac4b1958d59c29b43c3c5d71ca3861 Mon Sep 17 00:00:00 2001 From: koalasat Date: Thu, 14 Nov 2024 12:11:10 +0100 Subject: [PATCH] Fix app recovery on boot --- .../java/com/koalasat/pokey/service/NotificationsService.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/com/koalasat/pokey/service/NotificationsService.kt b/app/src/main/java/com/koalasat/pokey/service/NotificationsService.kt index ed9140c..c97d1b6 100644 --- a/app/src/main/java/com/koalasat/pokey/service/NotificationsService.kt +++ b/app/src/main/java/com/koalasat/pokey/service/NotificationsService.kt @@ -200,15 +200,12 @@ class NotificationsService : Service() { } private fun startSubscription() { - Log.d("Pokey", "startSubscription") val hexKey = Pokey.getInstance().getHexKey() if (hexKey.isEmpty()) return - Log.d("Pokey", "hexKey $hexKey") if (!Client.isSubscribed(clientNotificationListener)) Client.subscribe(clientNotificationListener) CoroutineScope(Dispatchers.IO).launch { - Log.d("Pokey", "NostrClient.start") NostrClient.start(this@NotificationsService) } }