aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-06 02:33:20 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-06 02:33:20 -0600
commit4972774bb3d2b96a47b17c89d4bc6f9aeac27e25 (patch)
tree6a12ad7014afd141f774198385d8ec81810256f5 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt
parent93c204bcd190b242f1dea49e52f28c795e4d0b92 (diff)
downloadetbsa-trackermap-mobile-4972774bb3d2b96a47b17c89d4bc6f9aeac27e25.tar.gz
etbsa-trackermap-mobile-4972774bb3d2b96a47b17c89d4bc6f9aeac27e25.tar.bz2
etbsa-trackermap-mobile-4972774bb3d2b96a47b17c89d4bc6f9aeac27e25.zip
WIP: Adds the token persistance
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt
index 5039a7c..82d11d1 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/session/LoginFragment.kt
@@ -32,6 +32,7 @@ class LoginFragment : Fragment() {
setupEvents()
setupObservers()
+ loginViewModel.restoreSession()
}
override fun onDestroyView() {