aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-22 22:34:14 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-22 22:34:14 -0600
commit0d85802f05fa0409b65891dce8fffe98d4d8b464 (patch)
tree96d50343500d71dcba8f9c1742329dbba6a512c6 /shared/src/commonMain/kotlin/mx
parent707b89f48297c68af514d6aa475b13624652df51 (diff)
downloadetbsa-trackermap-mobile-0d85802f05fa0409b65891dce8fffe98d4d8b464.tar.gz
etbsa-trackermap-mobile-0d85802f05fa0409b65891dce8fffe98d4d8b464.tar.bz2
etbsa-trackermap-mobile-0d85802f05fa0409b65891dce8fffe98d4d8b464.zip
Removed Log.d in SessionController.kt
Diffstat (limited to 'shared/src/commonMain/kotlin/mx')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
index 83b66fa..a945ee9 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
@@ -17,7 +17,6 @@
*/
package mx.trackermap.TrackerMap.controllers
-import android.util.Log
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.flow.MutableStateFlow
@@ -52,7 +51,6 @@ class SessionController(
GlobalScope.launch {
try {
userFlow.value = sessionApi.sessionGet()
- Log.d("LoginViewModel", userFlow.value.toString())
loginStateFlow.value = LoginState.Success
} catch (e: Exception) {
loginStateFlow.value = LoginState.Failure
@@ -65,10 +63,8 @@ class SessionController(
GlobalScope.launch {
try {
userFlow.value = sessionApi.sessionGet()
- Log.d("LoginViewModel", userFlow.value.toString())
loginStateFlow.value = LoginState.Success
} catch (e: Exception) {
- Log.d("LoginViewModel", "No session")
loginStateFlow.value = LoginState.Nothing
}
}