From 2ae6d2a4a0532567367fc763e2b2b951fb7975de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sun, 29 Sep 2019 17:22:44 +0200 Subject: [PATCH] [APIv2] Update LibrusTest --- .../szczodrzynski/edziennik/api/v2/librus/LibrusTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/librus/LibrusTest.kt b/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/librus/LibrusTest.kt index a01bc4df..482ba67b 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/librus/LibrusTest.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/librus/LibrusTest.kt @@ -49,7 +49,7 @@ class LibrusTest(val app: App) { app.startService(Intent(app, ApiService::class.java)) - val data = DataLibrus(app, profile, loginStore).apply { + /*val data = DataLibrus(app, profile, loginStore).apply { callback = object : ProgressCallback { override fun onProgress(progressStep: Int) { @@ -64,12 +64,12 @@ class LibrusTest(val app: App) { d(TAG, "Error "+error.getDetails(app)) } } - } + }*/ - LoginLibrus(data, LOGIN_METHOD_LIBRUS_MESSAGES) { + /*LoginLibrus(data, LOGIN_METHOD_LIBRUS_MESSAGES) { d(TAG, "Login succeeded.") d(TAG, "Profile data: ${data.profile?.studentData?.toString()}") d(TAG, "LoginStore data: ${data.loginStore.data}") - } + }*/ } }