removing comment which doesn't add additional context/information

This commit is contained in:
Adam Brown 2021-09-22 10:14:53 +01:00
parent 46c338934e
commit 6672ab3966
1 changed files with 0 additions and 2 deletions

View File

@ -44,7 +44,6 @@ internal class DefaultAddPusherTask @Inject constructor(
} catch (error: Throwable) {
monarchy.awaitTransaction { realm ->
PusherEntity.where(realm, pusher.pushKey).findFirst()?.let {
// update it
it.state = PusherState.FAILED_TO_REGISTER
}
}
@ -59,7 +58,6 @@ internal class DefaultAddPusherTask @Inject constructor(
monarchy.awaitTransaction { realm ->
val echo = PusherEntity.where(realm, pusher.pushKey).findFirst()
if (echo != null) {
// update it
echo.appDisplayName = pusher.appDisplayName
echo.appId = pusher.appId
echo.kind = pusher.kind