Fixed crash

This commit is contained in:
Christian Basler 2017-09-08 07:36:54 +02:00
parent 287de9deb5
commit 9dd1b457e3
1 changed files with 1 additions and 1 deletions

View File

@ -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()