aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/commonMain')
-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
}
}