Skip to content
Snippets Groups Projects
Commit 580813df authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes an issue with the notification reappearing and init state missing

parent aaf6ab7b
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ class QuasselService : LifecycleService(),
updateNotification(notificationHandle)
startForeground(notificationHandle.id, notificationHandle.builder.build())
} else {
this.notificationHandle = null
stopForeground(true)
}
}
......
......@@ -150,13 +150,13 @@ class ChatActivity : ServiceBoundActivity(), SharedPreferences.OnSharedPreferenc
progressBar.hide()
}
ConnectionState.INIT -> {
progressBar.isIndeterminate = true
}
else -> {
progressBar.isIndeterminate = false
progressBar.progress = progress
progressBar.max = max
}
else -> {
progressBar.isIndeterminate = true
}
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment