diff --git a/app/src/main/java/org/ole/planet/myplanet/datamanager/Service.kt b/app/src/main/java/org/ole/planet/myplanet/datamanager/Service.kt index de64caf55d..18a2b916af 100644 --- a/app/src/main/java/org/ole/planet/myplanet/datamanager/Service.kt +++ b/app/src/main/java/org/ole/planet/myplanet/datamanager/Service.kt @@ -307,7 +307,6 @@ class Service(private val context: Context) { }) { error: Throwable -> realm.close() error.printStackTrace() - callback.onSuccess("Unable to connect to planet earth") } } } @@ -315,7 +314,6 @@ class Service(private val context: Context) { override fun onFailure(call: Call, t: Throwable) { realm.close() - callback.onSuccess("Unable to connect to planet earth") } }) }