From 9dd1b457e3d8caadec1d3f923490884d32131e59 Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Fri, 8 Sep 2017 07:36:54 +0200 Subject: [PATCH] Fixed crash --- .../main/java/ch/dissem/apps/abit/service/BitmessageService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ch/dissem/apps/abit/service/BitmessageService.kt b/app/src/main/java/ch/dissem/apps/abit/service/BitmessageService.kt index 51f00c3..78850eb 100644 --- a/app/src/main/java/ch/dissem/apps/abit/service/BitmessageService.kt +++ b/app/src/main/java/ch/dissem/apps/abit/service/BitmessageService.kt @@ -49,7 +49,7 @@ class BitmessageService : Service() { running = false } - override fun onStartCommand(intent: Intent, flags: Int, startId: Int): Int { + override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { if (!isRunning) { running = true notification.connecting()